Skip to content

Commit ddb8bff

Browse files
chore: 🐝 Update SDK - Generate 0.33.1 (#263)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/eae70dc6160b518b64b151a9942b7964> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/171bec14f599135061244abae4158474> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.535.1 (2.585.2) https://github.com/speakeasy-api/speakeasy ## Versioning Version Bump Type: [patch] - 🤖 (automated) ## OpenAPI Change Summary ``` └─┬Paths ├─┬/api/v1/sources/{source_id}/connection-check │ ├─┬GET │ │ ├──[🔀] summary (854:20) │ │ ├──[🔀] description (855:24) │ │ ├──[🔀] operationId (856:24)❌ │ │ └─┬Extensions │ │ └──[➕] x-speakeasy-name-override (907:38) │ └─┬POST │ ├──[🔀] summary (920:20) │ ├──[🔀] description (921:24) │ ├──[🔀] operationId (922:24)❌ │ └─┬Extensions │ └──[➕] x-speakeasy-name-override (973:38) ├─┬/api/v1/destinations/{destination_id}/connection-check │ ├─┬GET │ │ ├──[🔀] summary (373:20) │ │ ├──[🔀] description (374:24) │ │ ├──[🔀] operationId (375:24)❌ │ │ └─┬Extensions │ │ └──[➕] x-speakeasy-name-override (426:38) │ └─┬POST │ ├──[🔀] summary (439:20) │ ├──[🔀] description (440:24) │ ├──[🔀] operationId (441:24)❌ │ └─┬Extensions │ └──[➕] x-speakeasy-name-override (492:38) └─┬/api/v1/jobs/{job_id}/download └─┬GET ├──[🔀] description (1215:24) └─┬Parameters ├──[🔀] description (1242:28) ├──[🔀] required (1243:25)❌ └─┬Schema ├──[➕] type (1245:23)❌ ├──[➕] format (1247:25)❌ ├──[🔀] description (1248:30) ├──[➖] anyOf (1:19314)❌ └──[➖] anyOf (1:19352)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 24 | 9 | ## PYTHON CHANGELOG No relevant generator changes Co-authored-by: speakeasybot <[email protected]>
1 parent 5c0c940 commit ddb8bff

35 files changed

+1885
-149
lines changed

.speakeasy/gen.lock

+66-5
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: 6433f28e5b70c3c0d7754fc7a88db327
55
docVersion: 1.1.7
6-
speakeasyVersion: 1.534.0
7-
generationVersion: 2.585.0
8-
releaseVersion: 0.33.0
9-
configChecksum: d3a6fe7f2ae7f430c8fff9c158af4f46
6+
speakeasyVersion: 1.535.1
7+
generationVersion: 2.585.2
8+
releaseVersion: 0.33.1
9+
configChecksum: 8b5e7fbd95d040ba09964f3c97c3156a
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/createconnectioncheckdestinationsrequest.md
50+
- docs/models/operations/createconnectioncheckdestinationsresponse.md
51+
- docs/models/operations/createconnectionchecksourcesrequest.md
52+
- docs/models/operations/createconnectionchecksourcesresponse.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/getconnectioncheckdestinationsrequest.md
68+
- docs/models/operations/getconnectioncheckdestinationsresponse.md
69+
- docs/models/operations/getconnectionchecksourcesrequest.md
70+
- docs/models/operations/getconnectionchecksourcesresponse.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,13 +237,17 @@ 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/create_connection_check_destinations.py
241+
- src/unstructured_client/models/operations/create_connection_check_sources.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_destinations.py
250+
- src/unstructured_client/models/operations/get_connection_check_sources.py
237251
- src/unstructured_client/models/operations/get_destination.py
238252
- src/unstructured_client/models/operations/get_job.py
239253
- src/unstructured_client/models/operations/get_source.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
@@ -437,6 +453,7 @@ examples:
437453
job_id: "bddbb621-2124-4cc2-9fa7-c6cdc21dac44"
438454
query:
439455
file_id: "<id>"
456+
node_id: "bddbb621-2124-4cc2-9fa7-c6cdc21dac44"
440457
header: {}
441458
responses:
442459
"200":
@@ -630,5 +647,49 @@ examples:
630647
application/json: {"created_at": "2025-01-25T05:08:46.547Z", "id": "7cc92d68-dc16-49f9-a119-c651a18a978d", "status": "SCHEDULED"}
631648
"422":
632649
application/json: {"detail": "<value>"}
650+
create_connection_check_destinations:
651+
speakeasy-default-create-connection-check-destinations:
652+
parameters:
653+
path:
654+
destination_id: "d9795fb7-2135-4e48-a51d-009dd6ca38a1"
655+
header: {}
656+
responses:
657+
"202":
658+
application/json: {"created_at": "2025-10-23T17:00:52.828Z", "id": "2b33c132-612e-425e-9ef0-4c89923fc202", "status": "SCHEDULED"}
659+
"422":
660+
application/json: {"detail": "<value>"}
661+
get_connection_check_destinations:
662+
speakeasy-default-get-connection-check-destinations:
663+
parameters:
664+
path:
665+
destination_id: "eb6a7890-5661-44a2-840b-bc59e9bb3318"
666+
header: {}
667+
responses:
668+
"200":
669+
application/json: {"created_at": "2025-03-13T23:31:02.383Z", "id": "c3274f55-9861-4e4e-8526-4273aa4d2772", "status": "FAILURE"}
670+
"422":
671+
application/json: {"detail": [{"loc": ["<value>"], "msg": "<value>", "type": "<value>"}, {"loc": [], "msg": "<value>", "type": "<value>"}, {"loc": [], "msg": "<value>", "type": "<value>"}]}
672+
create_connection_check_sources:
673+
speakeasy-default-create-connection-check-sources:
674+
parameters:
675+
path:
676+
source_id: "e5658517-3282-4845-9c22-88de48549d21"
677+
header: {}
678+
responses:
679+
"202":
680+
application/json: {"created_at": "2023-03-12T05:54:05.025Z", "id": "b5793adb-057f-470c-ae7e-309d786a99eb", "status": "SUCCESS"}
681+
"422":
682+
application/json: {"detail": []}
683+
get_connection_check_sources:
684+
speakeasy-default-get-connection-check-sources:
685+
parameters:
686+
path:
687+
source_id: "b3b6b67d-aca9-4b1c-89c0-5788869c1383"
688+
header: {}
689+
responses:
690+
"200":
691+
application/json: {"created_at": "2023-09-12T00:38:55.692Z", "id": "f7d1d931-a753-4fe9-ae3f-671f188a9b55", "status": "SUCCESS"}
692+
"422":
693+
application/json: {"detail": [{"loc": ["<value>"], "msg": "<value>", "type": "<value>"}, {"loc": [], "msg": "<value>", "type": "<value>"}]}
633694
examplesVersion: 1.0.1
634695
generatedTests: {}

.speakeasy/workflow.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.535.0
1+
speakeasyVersion: 1.535.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:8682267837b89a2ee79370a4ad952198440742fd4e6da24fd6c8061be3e52c03
6-
sourceBlobDigest: sha256:1549523a97b9ebd09012362367f313beb08069f42290a5186a65854ceff2ecd1
5+
sourceRevisionDigest: sha256:6771a944eaf5581cde4835c43e7997635f7d80ce441763c47cad9c305ba4a91e
6+
sourceBlobDigest: sha256:521a1c7be485e2be9f33ff7b82566823e96827cb69f7ca7775e0dd3dcc52d825
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1744919342
9+
- speakeasy-sdk-regen-1745261613
1010
- 1.1.7
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:8682267837b89a2ee79370a4ad952198440742fd4e6da24fd6c8061be3e52c03
16-
sourceBlobDigest: sha256:1549523a97b9ebd09012362367f313beb08069f42290a5186a65854ceff2ecd1
15+
sourceRevisionDigest: sha256:6771a944eaf5581cde4835c43e7997635f7d80ce441763c47cad9c305ba4a91e
16+
sourceBlobDigest: sha256:521a1c7be485e2be9f33ff7b82566823e96827cb69f7ca7775e0dd3dcc52d825
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:42c3a9e6802072bcdb162dd89daa5b4a59b92c4dffd0b852e212812845f6b556
18+
codeSamplesRevisionDigest: sha256:06bd35ef844f603c2c2357092fc875febff06f5c9eb855e262ff013b8935d8d6
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

+22-76
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_AI_SEARCH,
130-
},
118+
res = uc_client.destinations.create_connection_check_destinations(request={
119+
"destination_id": "d9795fb7-2135-4e48-a51d-009dd6ca38a1",
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_AI_SEARCH,
163-
},
140+
res = uc_client.destinations.create_connection_check_destinations(request={
141+
"destination_id": "d9795fb7-2135-4e48-a51d-009dd6ca38a1",
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 `create_connection_check_destinations_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_AI_SEARCH,
218-
},
185+
res = uc_client.destinations.create_connection_check_destinations(request={
186+
"destination_id": "d9795fb7-2135-4e48-a51d-009dd6ca38a1",
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_AI_SEARCH,
351-
},
307+
res = uc_client.destinations.create_connection_check_destinations(request={
308+
"destination_id": "d9795fb7-2135-4e48-a51d-009dd6ca38a1",
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_AI_SEARCH,
384-
},
329+
res = await uc_client.destinations.create_connection_check_destinations_async(request={
330+
"destination_id": "d9795fb7-2135-4e48-a51d-009dd6ca38a1",
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

+11
Original file line numberDiff line numberDiff line change
@@ -967,3 +967,14 @@ Based on:
967967
- [python v0.33.0] .
968968
### Releases
969969
- [PyPI v0.33.0] https://pypi.org/project/unstructured-client/0.33.0 - .
970+
971+
972+
## 2025-04-21 18:53:16
973+
### Changes
974+
Based on:
975+
- OpenAPI Doc
976+
- Speakeasy CLI 1.535.1 (2.585.2) https://github.com/speakeasy-api/speakeasy
977+
### Generated
978+
- [python v0.33.1] .
979+
### Releases
980+
- [PyPI v0.33.1] https://pypi.org/project/unstructured-client/0.33.1 - .

0 commit comments

Comments
 (0)