Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an opt-in / opt-out for Retry in ApiProvider.request #79

Open
caspervdw opened this issue May 29, 2024 · 0 comments
Open

Add an opt-in / opt-out for Retry in ApiProvider.request #79

caspervdw opened this issue May 29, 2024 · 0 comments

Comments

@caspervdw
Copy link
Contributor

Sometimes we want to retry POST methods (which are not in the hardcoded "retryable" methods). For instance in the token retrieval in oauth2/client_credentials.py.

Also maybe: sometimes we don't want to retry methods that we are currently retrying.

I think it would be best to append the API of [Sync]ApiProvider with a retry: bool parameter.

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

No branches or pull requests

1 participant