From 3110353e9d55a1aac624d9faf01192f57027e1f5 Mon Sep 17 00:00:00 2001 From: evan-sims_atko Date: Tue, 5 Aug 2025 00:37:56 -0500 Subject: [PATCH] docs(python-sdk): update readme import error Co-Authored-By: Carla Urrea Stabile <2745491+carlastabile@users.noreply.github.com> --- config/clients/python/template/README_calling_api.mustache | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/clients/python/template/README_calling_api.mustache b/config/clients/python/template/README_calling_api.mustache index 02d0b700..83ddf5e3 100644 --- a/config/clients/python/template/README_calling_api.mustache +++ b/config/clients/python/template/README_calling_api.mustache @@ -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. @@ -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,