8000 Please beautify the parsed dict object :) · Issue #69 · python-amazon-mws/python-amazon-mws · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

Please beautify the parsed dict object :) #69

@archtaurus

Description

@archtaurus

This mws package shall help a lot of Python programmers a lot.
So, please beautify the parsed dict object :)

  • What are so many 'value': '\n ' for?
  • 'NumberOfItemsShipped': 0, is much better than 'NumberOfItemsShipped': {'value': '0'},
  • 'CreatedBefore': {'value': '2018-05-17T07:00:00Z'} => 'CreatedBefore': '2018-05-17T07:00:00Z'

My dict lokks like:

   {'value': '\n        ',
    'LatestShipDate': {'value': '2018-05-17T06:59:59Z'},
    'OrderType': {'value': 'StandardOrder'},
    'PurchaseDate': {'value': '2018-05-16T19:46:17Z'},
    'AmazonOrderId': {'value': '113-8006225-0697855'},
    'IsReplacementOrder': {'value': 'false'},
    'LastUpdateDate': {'value': '2018-05-16T19:46:22Z'},
    'NumberOfItemsShipped': {'value': '0'},
    'ShipServiceLevel': {'value': 'SecondDay'},
    'OrderStatus': {'value': 'Pending'},
    'SalesChannel': {'value': 'Amazon.com'},
    'IsBusinessOrder': {'value': 'false'},
    'NumberOfItemsUnshipped': {'value': '1'},
    'PaymentMethodDetails': {'value': '\n          ',
     'PaymentMethodDetail': {'value': 'Standard'}},
    'IsPremiumOrder': {'value': 'false'},
    'EarliestShipDate': {'value': '2018-05-17T06:59:59Z'},
    'MarketplaceId': {'value': 'ATVPDKIKX0DER'},
    'FulfillmentChannel': {'value': 'AFN'},
    'PaymentMethod': {'value': 'Other'},
    'IsPrime': {'value': 'false'},
    'ShipmentServiceLevelCategory': {'value': 'SecondDay'},
    'SellerOrderId': {'value': '113-8006225-0697855'}}]},
 'CreatedBefore': {'value': '2018-05-17T07:00:00Z'},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0