Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0.1, Speakeasy CLI 1.141.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jan 16, 2024
1 parent 0013aba commit 020f6b4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 - .
4 changes: 2 additions & 2 deletions src/keymate_api/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]:
Expand Down
4 changes: 2 additions & 2 deletions src/keymate_api/utils/retries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 020f6b4

Please sign in to comment.