Skip to content

docs(python-sdk): update readme import error #574

New issue

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

Merged
merged 2 commits into from
Aug 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions config/clients/python/template/README_calling_api.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ response = await fga_client.batch_check(ClientBatchCheckRequest(checks=checks),
# ]
```

If you are using an OpenFGA version less than 1.8.0, you can use `client_batch_check`,
If you are using an OpenFGA version less than 1.8.0, you can use `client_batch_check`,
which calls `check` in parallel. It will return `allowed: false` if it encounters an error, and will return the error in the body.
If 429s or 5xxs are encountered, the underlying check will retry up to 3 times before giving up.

Expand Down Expand Up @@ -827,7 +827,8 @@ List the users who have a certain relation to a particular type.
```python
from {{packageName}} import OpenFgaClient
from {{packageName}}.models.fga_object import FgaObject
from {{packageName}}.client.models import ClientListUsersRequest, ClientTuple
from {{packageName}}.client.models import ClientTuple
from {{packageName}}.client.models.list_users_request import ClientListUsersRequest

configuration = ClientConfiguration(
api_url=FGA_API_URL,
Expand Down
Loading