Closed evansims closed 8 months ago
@rhamzeh I'm currently re-using the existing max_retry
and min_wait_in_ms
configuration values (that we're using for FGA retries) to configure this auth retry strategy.
Do you think this is appropriate? Should we be adding new configuration properties?
Do you think this is appropriate? Should we be adding new configuration properties?
No, reusing is fine. It's what we do in the other SDKs.
Updated based on feedback from https://github.com/openfga/sdk-generator/pull/335
Description
This pull request:
/oauth/token
authentication endpoint.jitter
function to supply exponential backoff values for retries.This PR also bumps the
pytest-cov
dependency from>= 4.1.0, < 5
to>= 5, < 6
, as no changes were required for our tests to support the latest version.References
Closes https://github.com/openfga/python-sdk/issues/18
Review Checklist
main