Skip to content

Commit adc4bc3

Browse files
authored
Merge pull request #56 from airbytehq/speakeasy-sdk-regen-1706746488
chore: 🐝 Update SDK - Generate
2 parents 012c511 + bd7dba1 commit adc4bc3

File tree

544 files changed

+1215
-1347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

544 files changed

+1215
-1347
lines changed

.speakeasy/gen.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ management:
44
docChecksum: c101e6356aa26bcdee80457c4dc64471
55
docVersion: 1.0.0
66
speakeasyVersion: internal
7-
generationVersion: 2.237.2
8-
releaseVersion: 0.44.3
9-
configChecksum: e5234746f9bb8bf377f8400720a7b273
7+
generationVersion: 2.253.0
8+
releaseVersion: 0.47.0
9+
configChecksum: 3fcff865c11ce83075716a8313369445
1010
repoURL: https://github.com/airbytehq/airbyte-api-python-sdk.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/airbytehq/airbyte-api-python-sdk.git
@@ -15,7 +15,7 @@ features:
1515
python:
1616
additionalProperties: 0.1.0
1717
constsAndDefaults: 0.1.2
18-
core: 4.4.2
18+
core: 4.4.5
1919
globalSecurity: 2.83.2
2020
globalServerURLs: 2.82.1
2121
unions: 2.82.5

README.md

Lines changed: 7 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,9 @@ s = airbyte.Airbyte(
4040
)
4141

4242
req = shared.ConnectionCreateRequest(
43-
configurations=shared.StreamConfigurations(
44-
streams=[
45-
shared.StreamConfiguration(
46-
cursor_field=[
47-
'string',
48-
],
49-
name='string',
50-
primary_key=[
51-
[
52-
'string',
53-
],
54-
],
55-
),
56-
],
57-
),
5843
destination_id='c669dd1e-3620-483e-afc8-55914e0a570f',
44+
source_id='6dd427d8-3a55-4584-b835-842325b6c7b3',
5945
namespace_format='${SOURCE_NAMESPACE}',
60-
schedule=shared.ConnectionSchedule(
61-
schedule_type=shared.ScheduleTypeEnum.MANUAL,
62-
),
63-
source_id='dd427d83-a555-4847-8358-42325b6c7b3f',
6446
)
6547

6648
res = s.connections.create_connection(req)
@@ -141,7 +123,7 @@ Handling errors in this SDK should largely match your expectations. All operati
141123

142124
```python
143125
import airbyte
144-
from airbyte.models import shared
126+
from airbyte.models import errors, shared
145127

146128
s = airbyte.Airbyte(
147129
security=shared.Security(
@@ -153,34 +135,16 @@ s = airbyte.Airbyte(
153135
)
154136

155137
req = shared.ConnectionCreateRequest(
156-
configurations=shared.StreamConfigurations(
157-
streams=[
158-
shared.StreamConfiguration(
159-
cursor_field=[
160-
'string',
161-
],
162-
name='string',
163-
primary_key=[
164-
[
165-
'string',
166-
],
167-
],
168-
),
169-
],
170-
),
171138
destination_id='c669dd1e-3620-483e-afc8-55914e0a570f',
139+
source_id='6dd427d8-3a55-4584-b835-842325b6c7b3',
172140
namespace_format='${SOURCE_NAMESPACE}',
173-
schedule=shared.ConnectionSchedule(
174-
schedule_type=shared.ScheduleTypeEnum.MANUAL,
175-
),
176-
source_id='dd427d83-a555-4847-8358-42325b6c7b3f',
177141
)
178142

179143
res = None
180144
try:
181145
res = s.connections.create_connection(req)
182146
except errors.SDKError as e:
183-
print(e) # handle exception
147+
# handle exception
184148
raise(e)
185149

186150
if res.connection_response is not None:
@@ -219,27 +183,9 @@ s = airbyte.Airbyte(
219183
)
220184

221185
req = shared.ConnectionCreateRequest(
222-
configurations=shared.StreamConfigurations(
223-
streams=[
224-
shared.StreamConfiguration(
225-
cursor_field=[
226-
'string',
227-
],
228-
name='string',
229-
primary_key=[
230-
[
231-
'string',
232-
],
233-
],
234-
),
235-
],
236-
),
237186
destination_id='c669dd1e-3620-483e-afc8-55914e0a570f',
187+
source_id='6dd427d8-3a55-4584-b835-842325b6c7b3',
238188
namespace_format='${SOURCE_NAMESPACE}',
239-
schedule=shared.ConnectionSchedule(
240-
schedule_type=shared.ScheduleTypeEnum.MANUAL,
241-
),
242-
source_id='dd427d83-a555-4847-8358-42325b6c7b3f',
243189
)
244190

245191
res = s.connections.create_connection(req)
@@ -268,27 +214,9 @@ s = airbyte.Airbyte(
268214
)
269215

270216
req = shared.ConnectionCreateRequest(
271-
configurations=shared.StreamConfigurations(
272-
streams=[
273-
shared.StreamConfiguration(
274-
cursor_field=[
275-
'string',
276-
],
277-
name='string',
278-
primary_key=[
279-
[
280-
'string',
281-
],
282-
],
283-
),
284-
],
285-
),
286217
destination_id='c669dd1e-3620-483e-afc8-55914e0a570f',
218+
source_id='6dd427d8-3a55-4584-b835-842325b6c7b3',
287219
namespace_format='${SOURCE_NAMESPACE}',
288-
schedule=shared.ConnectionSchedule(
289-
schedule_type=shared.ScheduleTypeEnum.MANUAL,
290-
),
291-
source_id='dd427d83-a555-4847-8358-42325b6c7b3f',
292220
)
293221

294222
res = s.connections.create_connection(req)
@@ -346,27 +274,9 @@ s = airbyte.Airbyte(
346274
)
347275

348276
req = shared.ConnectionCreateRequest(
349-
configurations=shared.StreamConfigurations(
350-
streams=[
351-
shared.StreamConfiguration(
352-
cursor_field=[
353-
'string',
354-
],
355-
name='string',
356-
primary_key=[
357-
[
358-
'string',
359-
],
360-
],
361-
),
362-
],
363-
),
364277
destination_id='c669dd1e-3620-483e-afc8-55914e0a570f',
278+
source_id='6dd427d8-3a55-4584-b835-842325b6c7b3',
365279
namespace_format='${SOURCE_NAMESPACE}',
366-
schedule=shared.ConnectionSchedule(
367-
schedule_type=shared.ScheduleTypeEnum.MANUAL,
368-
),
369-
source_id='dd427d83-a555-4847-8358-42325b6c7b3f',
370280
)
371281

372282
res = s.connections.create_connection(req)

RELEASES.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,4 +808,44 @@ Based on:
808808
### Generated
809809
- [python v0.44.3] .
810810
### Releases
811-
- [PyPI v0.44.3] https://pypi.org/project/airbyte-api/0.44.3 - .
811+
- [PyPI v0.44.3] https://pypi.org/project/airbyte-api/0.44.3 - .
812+
813+
## 2024-02-01 00:14:45
814+
### Changes
815+
Based on:
816+
- OpenAPI Doc 1.0.0
817+
- Speakeasy CLI 1.161.0 (2.245.1) https://github.com/speakeasy-api/speakeasy
818+
### Generated
819+
- [python v0.45.0] .
820+
### Releases
821+
- [PyPI v0.45.0] https://pypi.org/project/airbyte-api/0.45.0 - .
822+
823+
## 2024-02-02 00:13:52
824+
### Changes
825+
Based on:
826+
- OpenAPI Doc 1.0.0
827+
- Speakeasy CLI 1.163.1 (2.248.1) https://github.com/speakeasy-api/speakeasy
828+
### Generated
829+
- [python v0.46.0] .
830+
### Releases
831+
- [PyPI v0.46.0] https://pypi.org/project/airbyte-api/0.46.0 - .
832+
833+
## 2024-02-07 00:13:42
834+
### Changes
835+
Based on:
836+
- OpenAPI Doc 1.0.0
837+
- Speakeasy CLI 1.170.1 (2.250.12) https://github.com/speakeasy-api/speakeasy
838+
### Generated
839+
- [python v0.47.0] .
840+
### Releases
841+
- [PyPI v0.47.0] https://pypi.org/project/airbyte-api/0.47.0 - .
842+
843+
## 2024-02-13 00:14:09
844+
### Changes
845+
Based on:
846+
- OpenAPI Doc 1.0.0
847+
- Speakeasy CLI 1.178.0 (2.253.0) https://github.com/speakeasy-api/speakeasy
848+
### Generated
849+
- [python v0.47.0] .
850+
### Releases
851+
- [PyPI v0.47.0] https://pypi.org/project/airbyte-api/0.47.0 - .

USAGE.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,9 @@ s = airbyte.Airbyte(
1313
)
1414

1515
req = shared.ConnectionCreateRequest(
16-
configurations=shared.StreamConfigurations(
17-
streams=[
18-
shared.StreamConfiguration(
19-
cursor_field=[
20-
'string',
21-
],
22-
name='string',
23-
primary_key=[
24-
[
25-
'string',
26-
],
27-
],
28-
),
29-
],
30-
),
3116
destination_id='c669dd1e-3620-483e-afc8-55914e0a570f',
17+
source_id='6dd427d8-3a55-4584-b835-842325b6c7b3',
3218
namespace_format='${SOURCE_NAMESPACE}',
33-
schedule=shared.ConnectionSchedule(
34-
schedule_type=shared.ScheduleTypeEnum.MANUAL,
35-
),
36-
source_id='dd427d83-a555-4847-8358-42325b6c7b3f',
3719
)
3820

3921
res = s.connections.create_connection(req)

docs/models/operations/canceljobresponse.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8-
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
9-
| `job_response` | [Optional[shared.JobResponse]](../../models/shared/jobresponse.md) | :heavy_minus_sign: | Cancel a Job. |
10-
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
11-
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | |
9+
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | |
10+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | |
11+
| `job_response` | [Optional[shared.JobResponse]](../../models/shared/jobresponse.md) | :heavy_minus_sign: | Cancel a Job. | {"id":"18dccc91-0ab1-4f72-9ed7-0b8fc27c5826","status":"running","jobType":"sync","startTime":"2023-03-25T01:30:50Z","duration":"PT8H6M12S"} |

docs/models/operations/createconnectionresponse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8-
| `connection_response` | [Optional[shared.ConnectionResponse]](../../models/shared/connectionresponse.md) | :heavy_minus_sign: | Successful operation |
98
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
109
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
11-
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
10+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
11+
| `connection_response` | [Optional[shared.ConnectionResponse]](../../models/shared/connectionresponse.md) | :heavy_minus_sign: | Successful operation |

0 commit comments

Comments
 (0)