Skip to content

Update etsy_api.py#28

Open
TimMcCauley wants to merge 1 commit intoanitabyte:mainfrom
TimMcCauley:patch-1
Open

Update etsy_api.py#28
TimMcCauley wants to merge 1 commit intoanitabyte:mainfrom
TimMcCauley:patch-1

Conversation

@TimMcCauley
Copy link

When the token is expired and _issue_request recursively calls itself after refreshing, it only passes uri and **rkw (the kwargs). It does not pass method or request_payload. So for a POST/PUT/PATCH request, after refresh it defaults to:
method=Method.GET (the default parameter), request_payload=None.

issue request should respect method and original payload, too
@TimMcCauley
Copy link
Author

I have created a pypi project with my fork - would anyone like write permissions?

https://github.com/TimMcCauley/etsyv3
https://pypi.org/project/etsyv3-api/0.1/

@ramibch
Copy link
Contributor

ramibch commented Feb 13, 2026

@TimMcCauley I would love to have write permissions to the pypi project and be one of the maintainers of your fork repository!

@TimMcCauley
Copy link
Author

Cool, thanks! I invited you @ramibch

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.

2 participants