Skip to content

Commit 5844309

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.31.1
1 parent d1418d5 commit 5844309

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,4 +446,12 @@ Based on:
446446
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
447447
- Speakeasy CLI 1.30.1 (2.26.4) https://github.com/speakeasy-api/speakeasy
448448
### Releases
449-
- [PyPI v1.23.4] https://pypi.org/project/speakeasy-client-sdk-python/1.23.4 - .
449+
- [PyPI v1.23.4] https://pypi.org/project/speakeasy-client-sdk-python/1.23.4 - .
450+
451+
## 2023-05-13 00:09:04
452+
### Changes
453+
Based on:
454+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
455+
- Speakeasy CLI 1.31.1 (2.27.0) https://github.com/speakeasy-api/speakeasy
456+
### Releases
457+
- [PyPI v1.24.0] https://pypi.org/project/speakeasy-client-sdk-python/1.24.0 - .

gen.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.30.1
6-
generationVersion: 2.26.4
5+
speakeasyVersion: 1.31.1
6+
generationVersion: 2.27.0
77
generation:
88
telemetryEnabled: true
99
sdkClassName: speakeasy
1010
singleTagPerOp: false
1111
python:
12-
version: 1.23.4
12+
version: 1.24.0
1313
author: Speakeasy
1414
description: Speakeasy API Client SDK for Python
1515
maxMethodParams: 0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="speakeasy-client-sdk-python",
13-
version="1.23.4",
13+
version="1.24.0",
1414
author="Speakeasy",
1515
description="Speakeasy API Client SDK for Python",
1616
long_description=long_description,

src/speakeasy/sdk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ class Speakeasy:
4141
_security_client: requests_http.Session
4242
_server_url: str = SERVERS[SERVER_PROD]
4343
_language: str = "python"
44-
_sdk_version: str = "1.23.4"
45-
_gen_version: str = "2.26.4"
44+
_sdk_version: str = "1.24.0"
45+
_gen_version: str = "2.27.0"
4646

4747
def __init__(self,
4848
security: shared.Security = None,

src/speakeasy/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: dict,
112112
client.client.headers[header_name] = value
113113
elif scheme_type == 'http':
114114
if sub_type == 'bearer':
115-
client.client.headers[header_name] = value
115+
client.client.headers[header_name] = value.lower().startswith('bearer ') and value or f'Bearer {value}'
116116
else:
117117
raise Exception('not supported')
118118
else:

0 commit comments

Comments
 (0)