Skip to content

Update etsy_api.py#28

Merged
anitabyte merged 1 commit intoanitabyte:mainfrom
TimMcCauley:patch-1
Mar 20, 2026
Merged

Update etsy_api.py#28
anitabyte merged 1 commit intoanitabyte:mainfrom
TimMcCauley:patch-1

Conversation

@TimMcCauley
Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator 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
Copy Markdown
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
Copy Markdown
Collaborator Author

Cool, thanks! I invited you @ramibch

@anitabyte anitabyte merged commit 13cedcc into anitabyte:main Mar 20, 2026
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