Skip to content

Commit dc8269c

Browse files
committed
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.125.2
1 parent f05e150 commit dc8269c

27 files changed

+68
-73
lines changed

README.md

Lines changed: 18 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ Developers will need to create an API Key within your [Developer Portal](https:/
1313

1414
The Developer Portal UI can also be used to help build your integration by showing information about network requests in the Requests tab. API usage information is also available to you in the Usage tab.
1515

16-
<!-- Start SDK Installation -->
16+
<!-- Start SDK Installation [installation] -->
1717
## SDK Installation
1818

1919
```bash
2020
pip install airbyte-api
2121
```
22-
<!-- End SDK Installation -->
22+
<!-- End SDK Installation [installation] -->
2323

24+
<!-- Start SDK Example Usage [usage] -->
2425
## SDK Example Usage
25-
<!-- Start SDK Example Usage -->
26+
2627
### Example
2728

2829
```python
@@ -68,12 +69,11 @@ if res.connection_response is not None:
6869
# handle response
6970
pass
7071
```
71-
<!-- End SDK Example Usage -->
72+
<!-- End SDK Example Usage [usage] -->
7273

73-
<!-- Start SDK Available Operations -->
74+
<!-- Start Available Resources and Operations [operations] -->
7475
## Available Resources and Operations
7576

76-
7777
### [connections](docs/sdks/connections/README.md)
7878

7979
* [create_connection](docs/sdks/connections/README.md#create_connection) - Create a connection
@@ -120,29 +120,15 @@ if res.connection_response is not None:
120120
* [get_workspace](docs/sdks/workspaces/README.md#get_workspace) - Get Workspace details
121121
* [list_workspaces](docs/sdks/workspaces/README.md#list_workspaces) - List workspaces
122122
* [update_workspace](docs/sdks/workspaces/README.md#update_workspace) - Update a workspace
123-
<!-- End SDK Available Operations -->
124-
125-
126-
127-
<!-- Start Dev Containers -->
123+
<!-- End Available Resources and Operations [operations] -->
128124

129-
<!-- End Dev Containers -->
130125

131126

132127

133-
<!-- Start Pagination -->
134-
# Pagination
135128

136-
Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the
137-
returned response object will have a `Next` method that can be called to pull down the next group of results. If the
138-
return value of `Next` is `None`, then there are no more pages to be fetched.
139129

140-
Here's an example of one such pagination call:
141-
<!-- End Pagination -->
142130

143-
144-
145-
<!-- Start Error Handling -->
131+
<!-- Start Error Handling [errors] -->
146132
## Error Handling
147133

148134
Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate Error type.
@@ -193,20 +179,19 @@ req = shared.ConnectionCreateRequest(
193179
res = None
194180
try:
195181
res = s.connections.create_connection(req)
196-
197-
except (errors.SDKError) as e:
198-
print(e) # handle exception
199-
182+
except errors.SDKError as e:
183+
print(e) # handle exception
184+
raise(e)
200185

201186
if res.connection_response is not None:
202187
# handle response
203188
pass
204189
```
205-
<!-- End Error Handling -->
190+
<!-- End Error Handling [errors] -->
206191

207192

208193

209-
<!-- Start Server Selection -->
194+
<!-- Start Server Selection [server] -->
210195
## Server Selection
211196

212197
### Select Server by Index
@@ -312,11 +297,11 @@ if res.connection_response is not None:
312297
# handle response
313298
pass
314299
```
315-
<!-- End Server Selection -->
300+
<!-- End Server Selection [server] -->
316301

317302

318303

319-
<!-- Start Custom HTTP Client -->
304+
<!-- Start Custom HTTP Client [http-client] -->
320305
## Custom HTTP Client
321306

322307
The Python SDK makes API calls using the (requests)[https://pypi.org/project/requests/] HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `requests.Session` object.
@@ -330,11 +315,11 @@ http_client = requests.Session()
330315
http_client.headers.update({'x-custom-header': 'someValue'})
331316
s = airbyte.Airbyte(client: http_client)
332317
```
333-
<!-- End Custom HTTP Client -->
318+
<!-- End Custom HTTP Client [http-client] -->
334319

335320

336321

337-
<!-- Start Authentication -->
322+
<!-- Start Authentication [security] -->
338323
## Authentication
339324

340325
### Per-Client Security Schemes
@@ -390,7 +375,7 @@ if res.connection_response is not None:
390375
# handle response
391376
pass
392377
```
393-
<!-- End Authentication -->
378+
<!-- End Authentication [security] -->
394379

395380
<!-- Placeholder for Future Speakeasy SDK Sections -->
396381

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,4 +738,14 @@ Based on:
738738
### Generated
739739
- [python v0.43.5] .
740740
### Releases
741-
- [PyPI v0.43.5] https://pypi.org/project/airbyte-api/0.43.5 - .
741+
- [PyPI v0.43.5] https://pypi.org/project/airbyte-api/0.43.5 - .
742+
743+
## 2023-12-06 00:14:30
744+
### Changes
745+
Based on:
746+
- OpenAPI Doc 1.0.0
747+
- Speakeasy CLI 1.125.2 (2.210.6) https://github.com/speakeasy-api/speakeasy
748+
### Generated
749+
- [python v0.43.6] .
750+
### Releases
751+
- [PyPI v0.43.6] https://pypi.org/project/airbyte-api/0.43.6 - .

USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Start SDK Example Usage -->
1+
<!-- Start SDK Example Usage [usage] -->
22
```python
33
import airbyte
44
from airbyte.models import shared
@@ -42,4 +42,4 @@ if res.connection_response is not None:
4242
# handle response
4343
pass
4444
```
45-
<!-- End SDK Example Usage -->
45+
<!-- End SDK Example Usage [usage] -->

docs/models/shared/continuousfeed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The values required to configure the source.
77

88
| Field | Type | Required | Description | Example |
99
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
10-
| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | [object Object] |
10+
| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | {"user":"charles"} |
1111
| `max_messages` | *Optional[int]* | :heavy_minus_sign: | Number of records to emit per stream. Min 1. Max 100 billion. | |
1212
| `message_interval_ms` | *Optional[int]* | :heavy_minus_sign: | Interval between messages in ms. Min 0 ms. Max 60000 ms (1 minute). | |
1313
| `mock_catalog` | [Union[shared.SingleSchema, shared.MultiSchema]](../../models/shared/mockcatalog.md) | :heavy_check_mark: | N/A | |

docs/models/shared/destinationcreaterequest.md

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/models/shared/destinationpatchrequest.md

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/models/shared/destinationputrequest.md

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/models/shared/destinationresponse.md

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/models/shared/destinationweaviateindexing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Indexing configuration
77

88
| Field | Type | Required | Description | Example |
99
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
10-
| `additional_headers` | List[[shared.Header](../../models/shared/header.md)] | :heavy_minus_sign: | Additional HTTP headers to send with every request. | [object Object] |
10+
| `additional_headers` | List[[shared.Header](../../models/shared/header.md)] | :heavy_minus_sign: | Additional HTTP headers to send with every request. | {"header_key":"X-OpenAI-Api-Key","value":"my-openai-api-key"} |
1111
| `auth` | [Union[shared.DestinationWeaviateAPIToken, shared.DestinationWeaviateUsernamePassword, shared.NoAuthentication]](../../models/shared/destinationweaviateauthentication.md) | :heavy_check_mark: | Authentication method | |
1212
| `batch_size` | *Optional[int]* | :heavy_minus_sign: | The number of records to send to Weaviate in each batch | |
1313
| `default_vectorizer` | [Optional[shared.DefaultVectorizer]](../../models/shared/defaultvectorizer.md) | :heavy_minus_sign: | The vectorizer to use if new classes need to be created | |

0 commit comments

Comments
 (0)