Skip to content

Commit 635dd3d

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.19.6
1 parent f06e34b commit 635dd3d

File tree

5 files changed

+17
-11
lines changed

5 files changed

+17
-11
lines changed

RELEASES.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -286,4 +286,12 @@ Based on:
286286
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
287287
- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy
288288
### Releases
289-
- [PyPI v1.14.3] https://pypi.org/project/speakeasy-client-sdk-python/1.14.3 - .
289+
- [PyPI v1.14.3] https://pypi.org/project/speakeasy-client-sdk-python/1.14.3 - .
290+
291+
## 2023-04-06 00:09:45
292+
### Changes
293+
Based on:
294+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
295+
- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy
296+
### Releases
297+
- [PyPI v1.15.0] https://pypi.org/project/speakeasy-client-sdk-python/1.15.0 - .

gen.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.19.3
6-
generationVersion: 2.16.7
5+
speakeasyVersion: 1.19.6
6+
generationVersion: 2.17.8
77
generation:
88
telemetryEnabled: true
99
sdkClassName: speakeasy
1010
sdkFlattening: true
1111
singleTagPerOp: false
1212
python:
13-
version: 1.14.3
13+
version: 1.15.0
1414
author: Speakeasy
1515
description: Speakeasy API Client SDK for Python
1616
packageName: speakeasy-client-sdk-python

setup.py

+1-1
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.14.3",
13+
version="1.15.0",
1414
author="Speakeasy",
1515
description="Speakeasy API Client SDK for Python",
1616
long_description=long_description,

src/speakeasy/schemas.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ def download_schema(self, request: operations.DownloadSchemaRequest) -> operatio
6565

6666
if http_res.status_code == 200:
6767
if utils.match_content_type(content_type, 'application/json'):
68-
out = utils.unmarshal_json(http_res.text, Optional[bytes])
69-
res.schema = out
68+
res.schema = http_res.content
7069
if utils.match_content_type(content_type, 'application/x-yaml'):
7170
res.schema = http_res.content
7271
else:
@@ -94,8 +93,7 @@ def download_schema_revision(self, request: operations.DownloadSchemaRevisionReq
9493

9594
if http_res.status_code == 200:
9695
if utils.match_content_type(content_type, 'application/json'):
97-
out = utils.unmarshal_json(http_res.text, Optional[bytes])
98-
res.schema = out
96+
res.schema = http_res.content
9997
if utils.match_content_type(content_type, 'application/x-yaml'):
10098
res.schema = http_res.content
10199
else:

src/speakeasy/sdk.py

+2-2
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.14.3"
45-
_gen_version: str = "2.16.7"
44+
_sdk_version: str = "1.15.0"
45+
_gen_version: str = "2.17.8"
4646

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

0 commit comments

Comments
 (0)