From 82df9515e1c2117432f832f0e7d133b5cd47e5d9 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Tue, 26 Nov 2024 14:54:06 +0000 Subject: [PATCH 1/2] refactor(python-sdk): switch ordering of configuration parameters --- .../clients/python/template/src/configuration.py.mustache | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/config/clients/python/template/src/configuration.py.mustache b/config/clients/python/template/src/configuration.py.mustache index e6ffd03c..d5af509f 100644 --- a/config/clients/python/template/src/configuration.py.mustache +++ b/config/clients/python/template/src/configuration.py.mustache @@ -147,7 +147,7 @@ class Configuration: :param ssl_ca_cert: str - the path to a file of concatenated CA certificates in PEM format :param api_url: str - the URL of the FGA server - :param timeout_millis: int | None - the default timeout in milliseconds for requests + :param timeout_millisec: int | None - the default timeout in milliseconds for requests """ _default = None @@ -164,11 +164,9 @@ class Configuration: server_operation_index=None, server_operation_variables=None, ssl_ca_cert=None, api_url=None, # TODO: restructure when removing api_scheme/api_host - - + telemetry: dict[TelemetryConfigurationType | str, TelemetryMetricsConfiguration | dict[TelemetryHistogram | TelemetryCounter, TelemetryMetricConfiguration | dict[TelemetryAttribute, bool] | None] | None] | None = None, timeout_millisec: int | None = None, - - telemetry: dict[TelemetryConfigurationType | str, TelemetryMetricsConfiguration | dict[TelemetryHistogram | TelemetryCounter, TelemetryMetricConfiguration | dict[TelemetryAttribute, bool] | None] | None] | None = None): + ): """Constructor """ From bbe058221b03012eb94c22d79391c3f3260ad4fc Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Tue, 26 Nov 2024 14:54:25 +0000 Subject: [PATCH 2/2] release(python-sdk): v0.8.1 --- config/clients/python/CHANGELOG.md.mustache | 6 ++++++ config/clients/python/config.overrides.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config/clients/python/CHANGELOG.md.mustache b/config/clients/python/CHANGELOG.md.mustache index b659d90e..697fd575 100644 --- a/config/clients/python/CHANGELOG.md.mustache +++ b/config/clients/python/CHANGELOG.md.mustache @@ -2,6 +2,12 @@ ## [Unreleased](https://github.com/openfga/python-sdk/compare/v{{packageVersion}}...HEAD) +## v0.8.1 + +### [0.8.1](https://github.com/openfga/python-sdk/compare/v0.8.0...v0.8.1) (2024-11-26) + +- feat: allow specifying a request timeout (#151) - thanks @Oscmage! + ## v0.8.0 ### [0.8.0](https://github.com/openfga/python-sdk/compare/v0.7.2...v0.8.0) (2024-11-15) diff --git a/config/clients/python/config.overrides.json b/config/clients/python/config.overrides.json index e7f32569..9ab5c86c 100644 --- a/config/clients/python/config.overrides.json +++ b/config/clients/python/config.overrides.json @@ -2,7 +2,7 @@ "sdkId": "python", "gitRepoId": "python-sdk", "packageName": "openfga_sdk", - "packageVersion": "0.8.0", + "packageVersion": "0.8.1", "packageDescription": "Python SDK for OpenFGA", "packageDetailedDescription": "This is an autogenerated python SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).", "fossaComplianceNoticeId": "2f8a8629-b46c-435e-b8cd-1174a674fb4b",