Skip to content

Commit 831109a

Browse files
authored
Merge pull request #36 from airbytehq/speakeasy-sdk-regen-1691021676
chore: speakeasy sdk regeneration - Generate
2 parents 6533fa6 + eeec5c5 commit 831109a

File tree

5 files changed

+27
-8
lines changed

5 files changed

+27
-8
lines changed

RELEASES.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,4 +414,20 @@ Based on:
414414
- OpenAPI Doc 1.0.0
415415
- Speakeasy CLI 1.66.1 (2.75.2) https://github.com/speakeasy-api/speakeasy
416416
### Releases
417-
- [PyPI v0.27.1] https://pypi.org/project/airbyte-api/0.27.1 - .
417+
- [PyPI v0.27.1] https://pypi.org/project/airbyte-api/0.27.1 - .
418+
419+
## 2023-08-03 00:14:34
420+
### Changes
421+
Based on:
422+
- OpenAPI Doc 1.0.0
423+
- Speakeasy CLI 1.68.1 (2.77.1) https://github.com/speakeasy-api/speakeasy
424+
### Releases
425+
- [PyPI v0.28.0] https://pypi.org/project/airbyte-api/0.28.0 - .
426+
427+
## 2023-08-04 00:15:01
428+
### Changes
429+
Based on:
430+
- OpenAPI Doc 1.0.0
431+
- Speakeasy CLI 1.68.3 (2.81.1) https://github.com/speakeasy-api/speakeasy
432+
### Releases
433+
- [PyPI v0.29.0] https://pypi.org/project/airbyte-api/0.29.0 - .

gen.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ configVersion: 1.0.0
22
management:
33
docChecksum: bb2011e16a0ec78eb8a13a803e08b4aa
44
docVersion: 1.0.0
5-
speakeasyVersion: 1.66.1
6-
generationVersion: 2.75.2
5+
speakeasyVersion: 1.68.3
6+
generationVersion: 2.81.1
77
generation:
88
comments:
99
disableComments: false
@@ -14,7 +14,7 @@ generation:
1414
tagNamespacingDisabled: false
1515
telemetryEnabled: true
1616
python:
17-
version: 0.27.1
17+
version: 0.29.0
1818
author: Airbyte
1919
description: Python Client SDK for Airbyte API
2020
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="airbyte-api",
13-
version="0.27.1",
13+
version="0.29.0",
1414
author="Airbyte",
1515
description="Python Client SDK for Airbyte API",
1616
long_description=long_description,

src/airbyte/sdkconfiguration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class SDKConfiguration:
1818
server_idx: int = 0
1919
language: str = 'python'
2020
openapi_doc_version: str = '1.0.0'
21-
sdk_version: str = '0.27.1'
22-
gen_version: str = '2.75.2'
21+
sdk_version: str = '0.29.0'
22+
gen_version: str = '2.81.1'
2323

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

src/airbyte/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)