Skip to content

Commit 3dd899c

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.535.0
1 parent 8e11754 commit 3dd899c

File tree

41 files changed

+2041
-203
lines changed

Some content is hidden

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

41 files changed

+2041
-203
lines changed

.speakeasy/gen.lock

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 8b5fa338-9106-4734-abf0-e30d67044a90
33
management:
4-
docChecksum: a22c1e202b7ac1f3305521fb7827a79d
4+
docChecksum: e3c8da4d880f93f1bf483a45d1fe2016
55
docVersion: 1.1.7
6-
speakeasyVersion: 1.534.0
7-
generationVersion: 2.585.0
8-
releaseVersion: 0.32.4
9-
configChecksum: cb28766c7ee08012d26a252eff80b540
6+
speakeasyVersion: 1.535.0
7+
generationVersion: 2.585.1
8+
releaseVersion: 0.32.5
9+
configChecksum: 5d74cee3ebe277ae6317c1ab5ec5aba1
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -46,6 +46,10 @@ generatedFiles:
4646
- docs/models/errors/servererror.md
4747
- docs/models/operations/canceljobrequest.md
4848
- docs/models/operations/canceljobresponse.md
49+
- docs/models/operations/checkconnectionapiv1sourcessourceidconnectioncheckpostrequest.md
50+
- docs/models/operations/checkconnectionapiv1sourcessourceidconnectioncheckpostresponse.md
51+
- docs/models/operations/checkdestinationconnectionapiv1destinationsdestinationidconnectioncheckpostrequest.md
52+
- docs/models/operations/checkdestinationconnectionapiv1destinationsdestinationidconnectioncheckpostresponse.md
4953
- docs/models/operations/createdestinationrequest.md
5054
- docs/models/operations/createdestinationresponse.md
5155
- docs/models/operations/createsourcerequest.md
@@ -60,6 +64,10 @@ generatedFiles:
6064
- docs/models/operations/deleteworkflowresponse.md
6165
- docs/models/operations/downloadjoboutputrequest.md
6266
- docs/models/operations/downloadjoboutputresponse.md
67+
- docs/models/operations/getconnectioncheckapiv1sourcessourceidconnectioncheckgetrequest.md
68+
- docs/models/operations/getconnectioncheckapiv1sourcessourceidconnectioncheckgetresponse.md
69+
- docs/models/operations/getdestinationconnectioncheckapiv1destinationsdestinationidconnectioncheckgetrequest.md
70+
- docs/models/operations/getdestinationconnectioncheckapiv1destinationsdestinationidconnectioncheckgetresponse.md
6371
- docs/models/operations/getdestinationrequest.md
6472
- docs/models/operations/getdestinationresponse.md
6573
- docs/models/operations/getjobrequest.md
@@ -98,6 +106,7 @@ generatedFiles:
98106
- docs/models/shared/config.md
99107
- docs/models/shared/confluencesourceconnectorconfig.md
100108
- docs/models/shared/confluencesourceconnectorconfiginput.md
109+
- docs/models/shared/connectioncheckstatus.md
101110
- docs/models/shared/couchbasedestinationconnectorconfig.md
102111
- docs/models/shared/couchbasedestinationconnectorconfiginput.md
103112
- docs/models/shared/couchbasesourceconnectorconfig.md
@@ -107,6 +116,7 @@ generatedFiles:
107116
- docs/models/shared/createsourceconnectorconfig.md
108117
- docs/models/shared/createworkflow.md
109118
- docs/models/shared/crontabentry.md
119+
- docs/models/shared/dagnodeconnectioncheck.md
110120
- docs/models/shared/databricksvdtdestinationconnectorconfig.md
111121
- docs/models/shared/databricksvdtdestinationconnectorconfiginput.md
112122
- docs/models/shared/databricksvolumesconnectorconfig.md
@@ -227,14 +237,18 @@ generatedFiles:
227237
- src/unstructured_client/models/errors/servererror.py
228238
- src/unstructured_client/models/operations/__init__.py
229239
- src/unstructured_client/models/operations/cancel_job.py
240+
- src/unstructured_client/models/operations/check_connection_api_v1_sources_source_id_connection_check_post.py
241+
- src/unstructured_client/models/operations/check_destination_connection_api_v1_destinations_destination_id_connection_check_post.py
230242
- src/unstructured_client/models/operations/create_destination.py
231243
- src/unstructured_client/models/operations/create_source.py
232244
- src/unstructured_client/models/operations/create_workflow.py
233245
- src/unstructured_client/models/operations/delete_destination.py
234246
- src/unstructured_client/models/operations/delete_source.py
235247
- src/unstructured_client/models/operations/delete_workflow.py
236248
- src/unstructured_client/models/operations/download_job_output.py
249+
- src/unstructured_client/models/operations/get_connection_check_api_v1_sources_source_id_connection_check_get.py
237250
- src/unstructured_client/models/operations/get_destination.py
251+
- src/unstructured_client/models/operations/get_destination_connection_check_api_v1_destinations_destination_id_connection_check_get.py
238252
- src/unstructured_client/models/operations/get_job.py
239253
- src/unstructured_client/models/operations/get_source.py
240254
- src/unstructured_client/models/operations/get_workflow.py
@@ -259,6 +273,7 @@ generatedFiles:
259273
- src/unstructured_client/models/shared/boxsourceconnectorconfiginput.py
260274
- src/unstructured_client/models/shared/confluencesourceconnectorconfig.py
261275
- src/unstructured_client/models/shared/confluencesourceconnectorconfiginput.py
276+
- src/unstructured_client/models/shared/connectioncheckstatus.py
262277
- src/unstructured_client/models/shared/couchbasedestinationconnectorconfig.py
263278
- src/unstructured_client/models/shared/couchbasedestinationconnectorconfiginput.py
264279
- src/unstructured_client/models/shared/couchbasesourceconnectorconfig.py
@@ -267,6 +282,7 @@ generatedFiles:
267282
- src/unstructured_client/models/shared/createsourceconnector.py
268283
- src/unstructured_client/models/shared/createworkflow.py
269284
- src/unstructured_client/models/shared/crontabentry.py
285+
- src/unstructured_client/models/shared/dagnodeconnectioncheck.py
270286
- src/unstructured_client/models/shared/databricksvdtdestinationconnectorconfig.py
271287
- src/unstructured_client/models/shared/databricksvdtdestinationconnectorconfiginput.py
272288
- src/unstructured_client/models/shared/databricksvolumesconnectorconfig.py

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.533.0
1+
speakeasyVersion: 1.535.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:a8e522e14e6e4dcd554243ec05cd244661f123d20a034f554450fde6ac22df5d
5+
sourceRevisionDigest: sha256:8682267837b89a2ee79370a4ad952198440742fd4e6da24fd6c8061be3e52c03
66
sourceBlobDigest: sha256:1549523a97b9ebd09012362367f313beb08069f42290a5186a65854ceff2ecd1
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1744330218
9+
- speakeasy-sdk-regen-1744919342
1010
- 1.1.7
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:a8e522e14e6e4dcd554243ec05cd244661f123d20a034f554450fde6ac22df5d
15+
sourceRevisionDigest: sha256:8682267837b89a2ee79370a4ad952198440742fd4e6da24fd6c8061be3e52c03
1616
sourceBlobDigest: sha256:1549523a97b9ebd09012362367f313beb08069f42290a5186a65854ceff2ecd1
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:c2682243f39e191854da0810e5ebd887bb5fd4efc65079432c521644f0ee2945
18+
codeSamplesRevisionDigest: sha256:42c3a9e6802072bcdb162dd89daa5b4a59b92c4dffd0b852e212812845f6b556
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 22 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -110,63 +110,41 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
110110
To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
111111
```python
112112
from unstructured_client import UnstructuredClient
113-
from unstructured_client.models import shared
114113
from unstructured_client.utils import BackoffStrategy, RetryConfig
115114

116115

117116
with UnstructuredClient() as uc_client:
118117

119-
res = uc_client.destinations.create_destination(request={
120-
"create_destination_connector": {
121-
"config": {
122-
"api_endpoint": "<value>",
123-
"batch_size": 20,
124-
"collection_name": "<value>",
125-
"flatten_metadata": False,
126-
"token": "<value>",
127-
},
128-
"name": "<value>",
129-
"type": shared.DestinationConnectorType.AZURE,
130-
},
118+
res = uc_client.destinations.check_destination_connection_api_v1_destinations_destination_id_connection_check_post(request={
119+
"destination_id": "b65169f5-79ba-4464-918f-b0be2c07b962",
131120
},
132121
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
133122

134-
assert res.destination_connector_information is not None
123+
assert res.dag_node_connection_check is not None
135124

136125
# Handle response
137-
print(res.destination_connector_information)
126+
print(res.dag_node_connection_check)
138127

139128
```
140129

141130
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
142131
```python
143132
from unstructured_client import UnstructuredClient
144-
from unstructured_client.models import shared
145133
from unstructured_client.utils import BackoffStrategy, RetryConfig
146134

147135

148136
with UnstructuredClient(
149137
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
150138
) as uc_client:
151139

152-
res = uc_client.destinations.create_destination(request={
153-
"create_destination_connector": {
154-
"config": {
155-
"api_endpoint": "<value>",
156-
"batch_size": 20,
157-
"collection_name": "<value>",
158-
"flatten_metadata": False,
159-
"token": "<value>",
160-
},
161-
"name": "<value>",
162-
"type": shared.DestinationConnectorType.AZURE,
163-
},
140+
res = uc_client.destinations.check_destination_connection_api_v1_destinations_destination_id_connection_check_post(request={
141+
"destination_id": "b65169f5-79ba-4464-918f-b0be2c07b962",
164142
})
165143

166-
assert res.destination_connector_information is not None
144+
assert res.dag_node_connection_check is not None
167145

168146
# Handle response
169-
print(res.destination_connector_information)
147+
print(res.dag_node_connection_check)
170148

171149
```
172150
<!-- End Retries [retries] -->
@@ -186,7 +164,7 @@ By default, an API error will raise a errors.SDKError exception, which has the f
186164
| `.raw_response` | *httpx.Response* | The raw HTTP response |
187165
| `.body` | *str* | The response content |
188166

189-
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `create_destination_async` method may raise the following exceptions:
167+
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `check_destination_connection_api_v1_destinations_destination_id_connection_check_post_async` method may raise the following exceptions:
190168

191169
| Error Type | Status Code | Content Type |
192170
| -------------------------- | ----------- | ---------------- |
@@ -197,31 +175,21 @@ When custom error responses are specified for an operation, the SDK may also rai
197175

198176
```python
199177
from unstructured_client import UnstructuredClient
200-
from unstructured_client.models import errors, shared
178+
from unstructured_client.models import errors
201179

202180

203181
with UnstructuredClient() as uc_client:
204182
res = None
205183
try:
206184

207-
res = uc_client.destinations.create_destination(request={
208-
"create_destination_connector": {
209-
"config": {
210-
"api_endpoint": "<value>",
211-
"batch_size": 20,
212-
"collection_name": "<value>",
213-
"flatten_metadata": False,
214-
"token": "<value>",
215-
},
216-
"name": "<value>",
217-
"type": shared.DestinationConnectorType.AZURE,
218-
},
185+
res = uc_client.destinations.check_destination_connection_api_v1_destinations_destination_id_connection_check_post(request={
186+
"destination_id": "b65169f5-79ba-4464-918f-b0be2c07b962",
219187
})
220188

221-
assert res.destination_connector_information is not None
189+
assert res.dag_node_connection_check is not None
222190

223191
# Handle response
224-
print(res.destination_connector_information)
192+
print(res.dag_node_connection_check)
225193

226194
except errors.HTTPValidationError as e:
227195
# handle e.data: errors.HTTPValidationErrorData
@@ -332,29 +300,18 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
332300
```python
333301
# Synchronous Example
334302
from unstructured_client import UnstructuredClient
335-
from unstructured_client.models import shared
336303

337304

338305
with UnstructuredClient() as uc_client:
339306

340-
res = uc_client.destinations.create_destination(request={
341-
"create_destination_connector": {
342-
"config": {
343-
"api_endpoint": "<value>",
344-
"batch_size": 20,
345-
"collection_name": "<value>",
346-
"flatten_metadata": False,
347-
"token": "<value>",
348-
},
349-
"name": "<value>",
350-
"type": shared.DestinationConnectorType.AZURE,
351-
},
307+
res = uc_client.destinations.check_destination_connection_api_v1_destinations_destination_id_connection_check_post(request={
308+
"destination_id": "b65169f5-79ba-4464-918f-b0be2c07b962",
352309
})
353310

354-
assert res.destination_connector_information is not None
311+
assert res.dag_node_connection_check is not None
355312

356313
# Handle response
357-
print(res.destination_connector_information)
314+
print(res.dag_node_connection_check)
358315
```
359316

360317
</br>
@@ -364,30 +321,19 @@ The same SDK client can also be used to make asychronous requests by importing a
364321
# Asynchronous Example
365322
import asyncio
366323
from unstructured_client import UnstructuredClient
367-
from unstructured_client.models import shared
368324

369325
async def main():
370326

371327
async with UnstructuredClient() as uc_client:
372328

373-
res = await uc_client.destinations.create_destination_async(request={
374-
"create_destination_connector": {
375-
"config": {
376-
"api_endpoint": "<value>",
377-
"batch_size": 20,
378-
"collection_name": "<value>",
379-
"flatten_metadata": False,
380-
"token": "<value>",
381-
},
382-
"name": "<value>",
383-
"type": shared.DestinationConnectorType.AZURE,
384-
},
329+
res = await uc_client.destinations.check_destination_connection_api_v1_destinations_destination_id_connection_check_post_async(request={
330+
"destination_id": "b65169f5-79ba-4464-918f-b0be2c07b962",
385331
})
386332

387-
assert res.destination_connector_information is not None
333+
assert res.dag_node_connection_check is not None
388334

389335
# Handle response
390-
print(res.destination_connector_information)
336+
print(res.dag_node_connection_check)
391337

392338
asyncio.run(main())
393339
```

RELEASES.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,3 +956,14 @@ Based on:
956956
- [python v0.32.4] .
957957
### Releases
958958
- [PyPI v0.32.4] https://pypi.org/project/unstructured-client/0.32.4 - .
959+
960+
961+
## 2025-04-17 19:48:46
962+
### Changes
963+
Based on:
964+
- OpenAPI Doc
965+
- Speakeasy CLI 1.535.0 (2.585.1) https://github.com/speakeasy-api/speakeasy
966+
### Generated
967+
- [python v0.32.5] .
968+
### Releases
969+
- [PyPI v0.32.5] https://pypi.org/project/unstructured-client/0.32.5 - .

USAGE.md

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,18 @@
22
```python
33
# Synchronous Example
44
from unstructured_client import UnstructuredClient
5-
from unstructured_client.models import shared
65

76

87
with UnstructuredClient() as uc_client:
98

10-
res = uc_client.destinations.create_destination(request={
11-
"create_destination_connector": {
12-
"config": {
13-
"api_endpoint": "<value>",
14-
"batch_size": 20,
15-
"collection_name": "<value>",
16-
"flatten_metadata": False,
17-
"token": "<value>",
18-
},
19-
"name": "<value>",
20-
"type": shared.DestinationConnectorType.AZURE,
21-
},
9+
res = uc_client.destinations.check_destination_connection_api_v1_destinations_destination_id_connection_check_post(request={
10+
"destination_id": "b65169f5-79ba-4464-918f-b0be2c07b962",
2211
})
2312

24-
assert res.destination_connector_information is not None
13+
assert res.dag_node_connection_check is not None
2514

2615
# Handle response
27-
print(res.destination_connector_information)
16+
print(res.dag_node_connection_check)
2817
```
2918

3019
</br>
@@ -34,30 +23,19 @@ The same SDK client can also be used to make asychronous requests by importing a
3423
# Asynchronous Example
3524
import asyncio
3625
from unstructured_client import UnstructuredClient
37-
from unstructured_client.models import shared
3826

3927
async def main():
4028

4129
async with UnstructuredClient() as uc_client:
4230

43-
res = await uc_client.destinations.create_destination_async(request={
44-
"create_destination_connector": {
45-
"config": {
46-
"api_endpoint": "<value>",
47-
"batch_size": 20,
48-
"collection_name": "<value>",
49-
"flatten_metadata": False,
50-
"token": "<value>",
51-
},
52-
"name": "<value>",
53-
"type": shared.DestinationConnectorType.AZURE,
54-
},
31+
res = await uc_client.destinations.check_destination_connection_api_v1_destinations_destination_id_connection_check_post_async(request={
32+
"destination_id": "b65169f5-79ba-4464-918f-b0be2c07b962",
5533
})
5634

57-
assert res.destination_connector_information is not None
35+
assert res.dag_node_connection_check is not None
5836

5937
# Handle response
60-
print(res.destination_connector_information)
38+
print(res.dag_node_connection_check)
6139

6240
asyncio.run(main())
6341
```

0 commit comments

Comments
 (0)