From 2e27d88859f3a977de91a20b55b7862319458200 Mon Sep 17 00:00:00 2001 From: openfga-releaser-bot Date: Mon, 24 Aug 2026 07:00:01 +0000 Subject: [PATCH] chore(sync): sync with generator Generated from openfga/sdk-generator@f76f8fe2b9dde0b93e49551def67ac515e8dee5f --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 78f6dc8..d544cd5 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ This is an autogenerated python SDK for OpenFGA. It provides a wrapper around th - [Assertions](#assertions) - [Read Assertions](#read-assertions) - [Write Assertions](#write-assertions) - - [Retries](#retries) - [Calling Other Endpoints](#calling-other-endpoints) + - [Retries](#retries) - [API Endpoints](#api-endpoints) - [Models](#models) - [OpenTelemetry](#opentelemetry) @@ -1290,6 +1290,8 @@ body = [ClientAssertion( response = await fga_client.write_assertions(body, options) ``` + + ### Calling Other Endpoints In certain cases you may want to call other APIs not yet wrapped by the SDK. You can do so by using the `execute_api_request` method available on the `OpenFgaClient`. It allows you to make raw HTTP calls to any OpenFGA endpoint by specifying the HTTP method, path, body, query parameters, and path parameters, while still honoring the client configuration (authentication, telemetry, retries, and error handling). @@ -1382,6 +1384,7 @@ response = await fga_client.execute_api_request( ``` + ### Retries If a network request fails with a 429 or 5xx error from the server, the SDK will automatically retry the request up to 3 times with a minimum wait time of 100 milliseconds between each attempt.