Skip to content

Commit b575624

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeasy CLI 1.161.0
1 parent 55bce43 commit b575624

File tree

7 files changed

+26
-14
lines changed

7 files changed

+26
-14
lines changed

.speakeasy/gen.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ management:
44
docChecksum: ba638b2ad28966c596e28321a2003686
55
docVersion: 0.3.0
66
speakeasyVersion: internal
7-
generationVersion: 2.237.2
8-
releaseVersion: 3.3.3
9-
configChecksum: a1ed4e64a555433fb6f28461bfb93daa
7+
generationVersion: 2.245.1
8+
releaseVersion: 3.3.4
9+
configChecksum: 314adc9a4308ee9d9488d5e1d38231f3
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
1313
published: true
1414
features:
1515
python:
16-
core: 4.4.2
16+
core: 4.4.3
1717
downloadStreams: 0.0.2
1818
examples: 2.81.3
1919
globalSecurity: 2.83.2

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,4 +1156,14 @@ Based on:
11561156
### Generated
11571157
- [python v3.3.3] .
11581158
### Releases
1159-
- [PyPI v3.3.3] https://pypi.org/project/speakeasy-client-sdk-python/3.3.3 - .
1159+
- [PyPI v3.3.3] https://pypi.org/project/speakeasy-client-sdk-python/3.3.3 - .
1160+
1161+
## 2024-02-01 00:11:14
1162+
### Changes
1163+
Based on:
1164+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
1165+
- Speakeasy CLI 1.161.0 (2.245.1) https://github.com/speakeasy-api/speakeasy
1166+
### Generated
1167+
- [python v3.3.4] .
1168+
### Releases
1169+
- [PyPI v3.3.4] https://pypi.org/project/speakeasy-client-sdk-python/3.3.4 - .

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ generation:
66
fixes:
77
nameResolutionDec2023: false
88
python:
9-
version: 3.3.3
9+
version: 3.3.4
1010
author: Speakeasy
1111
clientServerStatusCodesAsErrors: true
1212
description: Speakeasy API Client SDK for Python

pylintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ disable=raw-checker-failed,
442442
cyclic-import,
443443
too-many-nested-blocks,
444444
too-many-boolean-expressions,
445-
no-else-raise
445+
no-else-raise,
446+
bare-except
446447

447448
# Enable the message, report, category or checker with the given id(s). You can
448449
# either give multiple identifier separated by comma (,) or put this option

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="speakeasy-client-sdk-python",
13-
version="3.3.3",
13+
version="3.3.4",
1414
author="Speakeasy",
1515
description="Speakeasy API Client SDK for Python",
1616
long_description=long_description,
@@ -19,7 +19,7 @@
1919
install_requires=[
2020
"certifi>=2023.7.22",
2121
"charset-normalizer>=3.2.0",
22-
"dataclasses-json>=0.6.1",
22+
"dataclasses-json @ git+https://github.com/speakeasy-api/dataclasses-json@fix-union-deserialization",
2323
"idna>=3.4",
2424
"jsonpath-python>=1.0.6 ",
2525
"marshmallow>=3.19.0",
@@ -36,5 +36,6 @@
3636
"dev":["pylint==2.16.2"]
3737
},
3838
package_dir={'': 'src'},
39-
python_requires='>=3.8'
39+
python_requires='>=3.8',
40+
package_data={"speakeasy-client-sdk-python": ["py.typed"]},
4041
)

src/speakeasy/sdkconfiguration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ class SDKConfiguration:
2323
server: str = ''
2424
language: str = 'python'
2525
openapi_doc_version: str = '0.3.0'
26-
sdk_version: str = '3.3.3'
27-
gen_version: str = '2.237.2'
28-
user_agent: str = 'speakeasy-sdk/python 3.3.3 2.237.2 0.3.0 speakeasy-client-sdk-python'
26+
sdk_version: str = '3.3.4'
27+
gen_version: str = '2.245.1'
28+
user_agent: str = 'speakeasy-sdk/python 3.3.4 2.245.1 0.3.0 speakeasy-client-sdk-python'
2929
retry_config: RetryConfig = None
3030

3131
def get_server_details(self) -> Tuple[str, Dict[str, str]]:

src/speakeasy/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ def unmarshal_json(data, typ, decoder=None):
695695
out = unmarshal.from_dict({"res": json_dict})
696696
except AttributeError as attr_err:
697697
raise AttributeError(
698-
f'unable to unmarshal {data} as {typ}') from attr_err
698+
f'unable to unmarshal {data} as {typ} - {attr_err}') from attr_err
699699

700700
return out.res if decoder is None else decoder(out.res)
701701

0 commit comments

Comments
 (0)