We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the SDK README, for each code block examples, it will be helpful if
For example,
body = CreateStoreRequest( name = "FGA Demo Store", ) response = await fga_client.create_store(body) # response.id = "01FQH7V8BEG3GPQW93KTRFR8JB"
should be
#from openfga_sdk.client import OpenFgaClient #from openfga_sdk.models.create_store_request import CreateStoreRequest # initialize fga_client body = CreateStoreRequest( name = "FGA Demo Store", ) response = await fga_client.create_store(body) # response.id = "01FQH7V8BEG3GPQW93KTRFR8JB"
We want to do this for the examples listed in https://github.com/openfga/python-sdk/blob/main/README.md. Ideally, we will also fix the SDK generator so that newly generated python SDKs will have the corresponding changes. This is tracked as openfga/sdk-generator#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.
The text was updated successfully, but these errors were encountered:
Please assign it to me
Sorry, something went wrong.
Any Update on my PR?
Thanks for the PR @JRudransh - we won't get to reviewing it this week as the team is busy in an offsite, but we'll be taking a look early next week.
PR #63 Fixes this Issue
JRudransh
No branches or pull requests
In the SDK README, for each code block examples, it will be helpful if
For example,
should be
We want to do this for the examples listed in https://github.com/openfga/python-sdk/blob/main/README.md. Ideally, we will also fix the SDK generator so that newly generated python SDKs will have the corresponding changes. This is tracked as openfga/sdk-generator#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.
The text was updated successfully, but these errors were encountered: