Closed adriantam closed 1 year ago
Currently, the (README file)[https://github.com/openfga/python-sdk/blob/main/README.md] is incorrect in several places where api_instance is used instead of fga_client.
The sample code for
uses api_instance instead of fga_client. The purpose of this issue is to change all these instances to use fga_client instead.
api_instance
fga_client
Ideally, we will also fix the SDK generator so that newly generated python SDKs will have the corresponding changes. This is tracked as https://github.com/openfga/sdk-generator/issues/126. However, if that is difficult to do, simply focusing on the Python SDK side https://github.com/openfga/python-sdk/blob/main/README.md will help us as well.
i can do that
Currently, the (README file)[https://github.com/openfga/python-sdk/blob/main/README.md] is incorrect in several places where api_instance is used instead of fga_client.
The sample code for
uses
api_instance
instead offga_client
. The purpose of this issue is to change all these instances to use fga_client instead.Ideally, we will also fix the SDK generator so that newly generated python SDKs will have the corresponding changes. This is tracked as https://github.com/openfga/sdk-generator/issues/126. However, if that is difficult to do, simply focusing on the Python SDK side https://github.com/openfga/python-sdk/blob/main/README.md will help us as well.