To summarize, these changes introduce auto-retry support for failed requests (429, 500, 502, ...) to the /oauth/token auth endpoint, and enhance existing auto-retry of failed requests to the OpenFGA server to cover 5xx series error responses. In both cases, 501 is excluded from retries.
This PR also updates the makefile to generate a more robust code coverage report when running unit tests of the Python SDK. There is 100% coverage of these changes.
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[x] I have added tests to validate that the change in functionality is working as expected
Description
This PR rolls up the changes in the following PRs from the Python SDK and updates the generator to incorporate those updates:
To summarize, these changes introduce auto-retry support for failed requests (429, 500, 502, ...) to the
/oauth/token
auth endpoint, and enhance existing auto-retry of failed requests to the OpenFGA server to cover 5xx series error responses. In both cases, 501 is excluded from retries.This PR also updates the makefile to generate a more robust code coverage report when running unit tests of the Python SDK. There is 100% coverage of these changes.
References
Review Checklist
main