openfga / sdk-generator

OpenFGA Client SDK Generator
Apache License 2.0
14 stars 30 forks source link

refactor(python): remove Python 2 compatibility #324

Closed evansims closed 4 months ago

evansims commented 4 months ago

This PR:

Description

This PR makes several improvements to the Python SDK:

Besides this, it introduces a number of code formatting tools to produce a cleaner, more efficient SDK result:

There are no breaking changes to the public API.

References

You can review what the resulting SDK output looks like here: https://github.com/openfga/python-sdk/pull/75.

Disregard any failing tests on that pull request; these are due to changes in the code formatting rules mentioned above changes, and the version of urllib3 we're currently required to support.

Review Checklist