Skip to content

Commit bb80b1e

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.68.3
1 parent b697cfa commit bb80b1e

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,4 +758,12 @@ Based on:
758758
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
759759
- Speakeasy CLI 1.68.1 (2.77.1) https://github.com/speakeasy-api/speakeasy
760760
### Releases
761-
- [PyPI v1.49.0] https://pypi.org/project/speakeasy-client-sdk-python/1.49.0 - .
761+
- [PyPI v1.49.0] https://pypi.org/project/speakeasy-client-sdk-python/1.49.0 - .
762+
763+
## 2023-08-04 00:11:13
764+
### Changes
765+
Based on:
766+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
767+
- Speakeasy CLI 1.68.3 (2.81.1) https://github.com/speakeasy-api/speakeasy
768+
### Releases
769+
- [PyPI v1.50.0] https://pypi.org/project/speakeasy-client-sdk-python/1.50.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: 8c4f3932e054e1b349a9a34f12cf7e8c
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.68.1
6-
generationVersion: 2.77.1
5+
speakeasyVersion: 1.68.3
6+
generationVersion: 2.81.1
77
generation:
88
sdkClassName: speakeasy
99
singleTagPerOp: false
1010
telemetryEnabled: true
1111
python:
12-
version: 1.49.0
12+
version: 1.50.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.49.0",
13+
version="1.50.0",
1414
author="Speakeasy",
1515
description="Speakeasy API Client SDK for Python",
1616
long_description=long_description,

src/speakeasy/sdkconfiguration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class SDKConfiguration:
1919
server: str = ''
2020
language: str = 'python'
2121
openapi_doc_version: str = '0.3.0'
22-
sdk_version: str = '1.49.0'
23-
gen_version: str = '2.77.1'
22+
sdk_version: str = '1.50.0'
23+
gen_version: str = '2.81.1'
2424

2525
def get_server_details(self) -> tuple[str, dict[str, str]]:
2626
if self.server_url:

src/speakeasy/utils/utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,10 @@ def unmarshal_json(data, typ):
678678
unmarhsal = make_dataclass('Unmarhsal', [('res', typ)],
679679
bases=(DataClassJsonMixin,))
680680
json_dict = json.loads(data)
681-
out = unmarhsal.from_dict({"res": json_dict})
681+
try:
682+
out = unmarhsal.from_dict({"res": json_dict})
683+
except AttributeError as attr_err:
684+
raise AttributeError(f'unable to unmarshal {data} as {typ}') from attr_err
682685
return out.res
683686

684687

0 commit comments

Comments
 (0)