close
Skip to content

Add use http body params flag to requester#9

Merged
stphivos merged 2 commits into
developfrom
phivos/fix/EN-5142/use_body_params
Jul 9, 2021
Merged

Add use http body params flag to requester#9
stphivos merged 2 commits into
developfrom
phivos/fix/EN-5142/use_body_params

Conversation

@stphivos
Copy link
Copy Markdown

@stphivos stphivos commented Jul 8, 2021

No description provided.

@stphivos stphivos requested review from javiromero and skqr July 8, 2021 19:00
@stphivos stphivos self-assigned this Jul 8, 2021
Comment thread mws/mws.py
Copy link
Copy Markdown

@skqr skqr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Asked a question.

data = self._transport_details_non_partnered(shipment_type, data, **kwargs)

return self.make_request(data, method="POST")
return self.make_request(data, method="POST", use_body_params=True)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to double check - this would make it so that we're only using the alternate behaviour when interacting with the MWS Inbound Shipments API, correct?

Copy link
Copy Markdown
Author

@stphivos stphivos Jul 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes exactly, and only that specific function from it (put_transport_content).

Copy link
Copy Markdown

@javiromero javiromero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, do we need to bump the lib version https://github.com/Shiphero/python-amazon-mws/blob/develop/setup.py#L6 or is it automatic?

@stphivos
Copy link
Copy Markdown
Author

stphivos commented Jul 9, 2021

LGTM, do we need to bump the lib version https://github.com/Shiphero/python-amazon-mws/blob/develop/setup.py#L6 or is it automatic?

@javiromero yeah i better do that.

@stphivos stphivos merged commit 2d1e430 into develop Jul 9, 2021
@stphivos stphivos deleted the phivos/fix/EN-5142/use_body_params branch July 9, 2021 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants