From 020f6b49efa4babd5ff0b4b5522ff09e1357fa41 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 16 Jan 2024 00:38:52 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc 1.0.1, Speakeasy CLI 1.141.1 --- .speakeasy/gen.lock | 2 +- RELEASES.md | 10 ++++++++++ src/keymate_api/sdkconfiguration.py | 4 ++-- src/keymate_api/utils/retries.py | 4 ++-- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 16a2094..1e70807 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -4,7 +4,7 @@ management: docChecksum: 7ba09a9986f7230b7abacf151bbb031b docVersion: 1.0.1 speakeasyVersion: internal - generationVersion: 2.228.1 + generationVersion: 2.233.2 releaseVersion: 0.3.2 configChecksum: 9120726c0309ec2e61d10fde9b9f0dc5 repoURL: https://github.com/speakeasy-sdks/keymate-api-python.git diff --git a/RELEASES.md b/RELEASES.md index 2da3154..7f0dd59 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -98,4 +98,14 @@ Based on: ### Generated - [python v0.3.2] . ### Releases +- [PyPI v0.3.2] https://pypi.org/project/Keymate-API/0.3.2 - . + +## 2024-01-16 00:38:43 +### Changes +Based on: +- OpenAPI Doc 1.0.1 +- Speakeasy CLI 1.141.1 (2.233.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.3.2] . +### Releases - [PyPI v0.3.2] https://pypi.org/project/Keymate-API/0.3.2 - . \ No newline at end of file diff --git a/src/keymate_api/sdkconfiguration.py b/src/keymate_api/sdkconfiguration.py index ff1f682..3b2f05f 100644 --- a/src/keymate_api/sdkconfiguration.py +++ b/src/keymate_api/sdkconfiguration.py @@ -22,8 +22,8 @@ class SDKConfiguration: language: str = 'python' openapi_doc_version: str = '1.0.1' sdk_version: str = '0.3.2' - gen_version: str = '2.228.1' - user_agent: str = 'speakeasy-sdk/python 0.3.2 2.228.1 1.0.1 Keymate-API' + gen_version: str = '2.233.2' + user_agent: str = 'speakeasy-sdk/python 0.3.2 2.233.2 1.0.1 Keymate-API' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: diff --git a/src/keymate_api/utils/retries.py b/src/keymate_api/utils/retries.py index 25f49a1..8eba094 100644 --- a/src/keymate_api/utils/retries.py +++ b/src/keymate_api/utils/retries.py @@ -75,12 +75,12 @@ def do_request(): if res.status_code == parsed_code: raise TemporaryError(res) except requests.exceptions.ConnectionError as exception: - if not retries.config.config.retry_connection_errors: + if retries.config.config.retry_connection_errors: raise raise PermanentError(exception) from exception except requests.exceptions.Timeout as exception: - if not retries.config.config.retry_connection_errors: + if retries.config.config.retry_connection_errors: raise raise PermanentError(exception) from exception