8000 Naming convention · Issue #77 · 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.

Naming convention #77

@elcolumbio

Description

@elcolumbio

How do you want to access the response?

First of all good news the code gets a lot easier. You could see a lot of places where it wasn't understood correctly.
For example the parsed method is doing nothing for reports, it's just passing on a string, or bytes. From now on only a better encoded string.

A. For the request.response object resolve duplicates choose one of:

  1. self.original
  2. self.response

B. Default:

  1. use self.parsed no matter what, aka """Recieve a nice formatted response, this can be your default."""
  2. dependent on text and xml. Since text we dont parse we just access it with request.original.text

C. For XML Data we provide more options:

  1. a python dictionary, we can name it pydict , should it also get a parsed method?

additional:
headers object

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0