python-sdk
python-sdk copied to clipboard
OpenFGA SDK for Python 3 - https://pypi.org/project/openfga-sdk/
👋 Hi everyone! We've been discussing upgrading the `urllib3` dependency version range on this SDK but we wanted to check the pulse of the developer community before making any changes....
### Checklist - [x] I have looked into the [README](https://github.com/openfga/python-sdk/blob/main/README.md) and have not found a suitable solution or answer. - [x] I have looked into the [documentation](https://openfga.dev/docs) and have not...
### Checklist - [x] I agree to the terms within the [OpenFGA Code of Conduct](https://github.com/openfga/.github/blob/main/CODE_OF_CONDUCT.md). ### Describe the problem you'd like to have solved Currently, the SDK provides typed methods...
## Description Removes the unnecessary `fga_client.close()` call from the README example. #### What problem is being solved? The example included a `.close()` call, but the Python SDK automatically handles client...
### Checklist - [x] I agree to the terms within the [OpenFGA Code of Conduct](https://github.com/openfga/.github/blob/main/CODE_OF_CONDUCT.md). ### Describe the problem you'd like to have solved Seems like an obvious thing to...
### Checklist - [x] I have looked into the [README](https://github.com/openfga/python-sdk/blob/main/README.md) and have not found a suitable solution or answer. - [x] I have looked into the [documentation](https://openfga.dev/docs) and have not...
It looks like `.close()` is called in the async `__aexit__()` method as well as the sync `__exit__()` method. Given that context managers in python call the exit block in a...