Skip to content

Commit 5c0c940

Browse files
github-actions[bot]speakeasybotawalker4
authored
chore: 🐝 Update SDK - Generate 0.33.0 (#262)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/44b247f087f0af61a51a5df8fafadb71> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/8913ad6027c4f1190e5702b1aca3a060> # 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 No specification changes ## PYTHON CHANGELOG No relevant generator changes --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: Austin Walker <[email protected]>
1 parent 8e11754 commit 5c0c940

21 files changed

+82
-100
lines changed

.speakeasy/gen.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ management:
55
docVersion: 1.1.7
66
speakeasyVersion: 1.534.0
77
generationVersion: 2.585.0
8-
releaseVersion: 0.32.4
9-
configChecksum: cb28766c7ee08012d26a252eff80b540
8+
releaseVersion: 0.33.0
9+
configChecksum: d3a6fe7f2ae7f430c8fff9c158af4f46
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git

.speakeasy/workflow.lock

+5-5
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

+5-5
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ with UnstructuredClient() as uc_client:
126126
"token": "<value>",
127127
},
128128
"name": "<value>",
129-
"type": shared.DestinationConnectorType.AZURE,
129+
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
130130
},
131131
},
132132
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
@@ -159,7 +159,7 @@ with UnstructuredClient(
159159
"token": "<value>",
160160
},
161161
"name": "<value>",
162-
"type": shared.DestinationConnectorType.AZURE,
162+
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
163163
},
164164
})
165165

@@ -214,7 +214,7 @@ with UnstructuredClient() as uc_client:
214214
"token": "<value>",
215215
},
216216
"name": "<value>",
217-
"type": shared.DestinationConnectorType.AZURE,
217+
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
218218
},
219219
})
220220

@@ -347,7 +347,7 @@ with UnstructuredClient() as uc_client:
347347
"token": "<value>",
348348
},
349349
"name": "<value>",
350-
"type": shared.DestinationConnectorType.AZURE,
350+
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
351351
},
352352
})
353353

@@ -380,7 +380,7 @@ async def main():
380380
"token": "<value>",
381381
},
382382
"name": "<value>",
383-
"type": shared.DestinationConnectorType.AZURE,
383+
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
384384
},
385385
})
386386

RELEASES.md

+11
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.33.0] .
968+
### Releases
969+
- [PyPI v0.33.0] https://pypi.org/project/unstructured-client/0.33.0 - .

USAGE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ with UnstructuredClient() as uc_client:
1717
"token": "<value>",
1818
},
1919
"name": "<value>",
20-
"type": shared.DestinationConnectorType.AZURE,
20+
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
2121
},
2222
})
2323

@@ -50,7 +50,7 @@ async def main():
5050
"token": "<value>",
5151
},
5252
"name": "<value>",
53-
"type": shared.DestinationConnectorType.AZURE,
53+
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
5454
},
5555
})
5656

codeSamples.yaml

+25-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ actions:
1414
"x-codeSamples":
1515
- "lang": "python"
1616
"label": "create_destination"
17-
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request={\n \"create_destination_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.DestinationConnectorType.ASTRADB,\n \"config\": {\n \"remote_url\": \"https://fortunate-appliance.info\",\n \"anonymous\": False,\n },\n },\n })\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)"
17+
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request={\n \"create_destination_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.DestinationConnectorType.AZURE_AI_SEARCH,\n \"config\": {\n \"collection_name\": \"<value>\",\n \"batch_size\": 20,\n \"api_endpoint\": \"<value>\",\n \"token\": \"<value>\",\n \"flatten_metadata\": False,\n },\n },\n })\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)"
1818
- target: $["paths"]["/api/v1/destinations/{destination_id}"]["delete"]
1919
update:
2020
"x-codeSamples":
@@ -33,6 +33,18 @@ actions:
3333
- "lang": "python"
3434
"label": "update_destination"
3535
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.update_destination(request={\n \"destination_id\": \"9ea9d27c-4e2e-4cb5-9a69-71bd7ec9d226\",\n \"update_destination_connector\": {\n \"config\": {\n \"host\": \"acidic-patroller.com\",\n \"database\": \"<value>\",\n \"port\": 832931,\n \"username\": \"Salvador.Walsh-Thiel\",\n \"password\": \"vIMqbllzrdJBExE\",\n \"table_name\": \"<value>\",\n \"batch_size\": 977983,\n },\n },\n })\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)"
36+
- target: $["paths"]["/api/v1/destinations/{destination_id}/connection-check"]["get"]
37+
update:
38+
"x-codeSamples":
39+
- "lang": "python"
40+
"label": "get_destination_connection_check_api_v1_destinations__destination_id__connection_check_get"
41+
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.get_destination_connection_check_api_v1_destinations_destination_id_connection_check_get(request={\n \"destination_id\": \"3c48df35-2b2c-46f2-9aa2-d7eae993797c\",\n })\n\n assert res.dag_node_connection_check is not None\n\n # Handle response\n print(res.dag_node_connection_check)"
42+
- target: $["paths"]["/api/v1/destinations/{destination_id}/connection-check"]["post"]
43+
update:
44+
"x-codeSamples":
45+
- "lang": "python"
46+
"label": "check_destination_connection_api_v1_destinations__destination_id__connection_check_post"
47+
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.check_destination_connection_api_v1_destinations_destination_id_connection_check_post(request={\n \"destination_id\": \"b65169f5-79ba-4464-918f-b0be2c07b962\",\n })\n\n assert res.dag_node_connection_check is not None\n\n # Handle response\n print(res.dag_node_connection_check)"
3648
- target: $["paths"]["/api/v1/jobs/"]["get"]
3749
update:
3850
"x-codeSamples":
@@ -87,6 +99,18 @@ actions:
8799
- "lang": "python"
88100
"label": "update_source"
89101
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.update_source(request={\n \"source_id\": \"396edec4-39e8-4ef6-ac69-c9e3ba7a8418\",\n \"update_source_connector\": {\n \"config\": {\n \"host\": \"black-and-white-obesity.info\",\n \"database\": \"<value>\",\n \"port\": 848106,\n \"username\": \"Bruce.Stracke19\",\n \"password\": \"L8K8WEZq1xvBpSw\",\n \"table_name\": \"<value>\",\n \"batch_size\": 177849,\n \"id_column\": \"id\",\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
102+
- target: $["paths"]["/api/v1/sources/{source_id}/connection-check"]["get"]
103+
update:
104+
"x-codeSamples":
105+
- "lang": "python"
106+
"label": "get_connection_check_api_v1_sources__source_id__connection_check_get"
107+
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.get_connection_check_api_v1_sources_source_id_connection_check_get(request={\n \"source_id\": \"d9c3daec-ddf9-4cef-ae8d-3a989813cc7b\",\n })\n\n assert res.dag_node_connection_check is not None\n\n # Handle response\n print(res.dag_node_connection_check)"
108+
- target: $["paths"]["/api/v1/sources/{source_id}/connection-check"]["post"]
109+
update:
110+
"x-codeSamples":
111+
- "lang": "python"
112+
"label": "check_connection_api_v1_sources__source_id__connection_check_post"
113+
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.check_connection_api_v1_sources_source_id_connection_check_post(request={\n \"source_id\": \"8cb54f13-5652-423e-889c-1df1f8147126\",\n })\n\n assert res.dag_node_connection_check is not None\n\n # Handle response\n print(res.dag_node_connection_check)"
90114
- target: $["paths"]["/api/v1/workflows/"]["get"]
91115
update:
92116
"x-codeSamples":

docs/models/shared/config.md

-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33

44
## Supported Types
55

6-
### `shared.AzureDestinationConnectorConfigInput`
7-
8-
```python
9-
value: shared.AzureDestinationConnectorConfigInput = /* values here */
10-
```
11-
126
### `shared.AstraDBConnectorConfigInput`
137

148
```python

docs/models/shared/destinationconnectorinformationconfig.md

-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33

44
## Supported Types
55

6-
### `shared.AzureDestinationConnectorConfig`
7-
8-
```python
9-
value: shared.AzureDestinationConnectorConfig = /* values here */
10-
```
11-
126
### `shared.AstraDBConnectorConfig`
137

148
```python

docs/models/shared/destinationconnectortype.md

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
| Name | Value |
77
| -------------------------------- | -------------------------------- |
8-
| `AZURE` | azure |
98
| `ASTRADB` | astradb |
109
| `AZURE_AI_SEARCH` | azure_ai_search |
1110
| `COUCHBASE` | couchbase |

docs/models/shared/updatedestinationconnectorconfig.md

-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33

44
## Supported Types
55

6-
### `shared.AzureDestinationConnectorConfigInput`
7-
8-
```python
9-
value: shared.AzureDestinationConnectorConfigInput = /* values here */
10-
```
11-
126
### `shared.AstraDBConnectorConfigInput`
137

148
```python

docs/models/shared/workflownode.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
8-
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
9-
| `name` | *str* | :heavy_check_mark: | N/A |
10-
| `settings` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
11-
| `subtype` | *str* | :heavy_check_mark: | N/A |
12-
| `type` | [shared.WorkflowNodeType](../../models/shared/workflownodetype.md) | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description |
7+
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
8+
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
9+
| `name` | *str* | :heavy_check_mark: | N/A |
10+
| `settings` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
11+
| `subtype` | *str* | :heavy_check_mark: | N/A |
12+
| `type` | *str* | :heavy_check_mark: | N/A |

docs/sdks/destinations/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ with UnstructuredClient() as uc_client:
3434
"token": "<value>",
3535
},
3636
"name": "<value>",
37-
"type": shared.DestinationConnectorType.AZURE,
37+
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
3838
},
3939
})
4040

gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
oAuth2ClientCredentialsEnabled: false
1313
oAuth2PasswordEnabled: false
1414
python:
15-
version: 0.32.4
15+
version: 0.33.0
1616
additionalDependencies:
1717
dev:
1818
deepdiff: '>=6.0'

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "unstructured-client"
3-
version = "0.32.4"
3+
version = "0.33.0"
44
description = "Python Client SDK for Unstructured API"
55
authors = [{ name = "Unstructured" },]
66
readme = "README-PYPI.md"

src/unstructured_client/_version.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "unstructured-client"
6-
__version__: str = "0.32.4"
6+
__version__: str = "0.33.0"
77
__openapi_doc_version__: str = "1.1.7"
88
__gen_version__: str = "2.585.0"
9-
__user_agent__: str = "speakeasy-sdk/python 0.32.4 2.585.0 1.1.7 unstructured-client"
9+
__user_agent__: str = "speakeasy-sdk/python 0.33.0 2.585.0 1.1.7 unstructured-client"
1010

1111
try:
1212
if __package__ is not None:

src/unstructured_client/models/shared/__init__.py

-14
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@
1616
AzureAISearchConnectorConfigInput,
1717
AzureAISearchConnectorConfigInputTypedDict,
1818
)
19-
from .azuredestinationconnectorconfig import (
20-
AzureDestinationConnectorConfig,
21-
AzureDestinationConnectorConfigTypedDict,
22-
)
23-
from .azuredestinationconnectorconfiginput import (
24-
AzureDestinationConnectorConfigInput,
25-
AzureDestinationConnectorConfigInputTypedDict,
26-
)
2719
from .azuresourceconnectorconfig import (
2820
AzureSourceConnectorConfig,
2921
AzureSourceConnectorConfigTypedDict,
@@ -369,7 +361,6 @@
369361
)
370362
from .workflowinformation import WorkflowInformation, WorkflowInformationTypedDict
371363
from .workflownode import WorkflowNode, WorkflowNodeTypedDict
372-
from .workflownodetype import WorkflowNodeType
373364
from .workflowschedule import WorkflowSchedule, WorkflowScheduleTypedDict
374365
from .workflowstate import WorkflowState
375366
from .workflowtype import WorkflowType
@@ -392,10 +383,6 @@
392383
"AzureAISearchConnectorConfigInput",
393384
"AzureAISearchConnectorConfigInputTypedDict",
394385
"AzureAISearchConnectorConfigTypedDict",
395-
"AzureDestinationConnectorConfig",
396-
"AzureDestinationConnectorConfigInput",
397-
"AzureDestinationConnectorConfigInputTypedDict",
398-
"AzureDestinationConnectorConfigTypedDict",
399386
"AzureSourceConnectorConfig",
400387
"AzureSourceConnectorConfigInput",
401388
"AzureSourceConnectorConfigInputTypedDict",
@@ -592,7 +579,6 @@
592579
"WorkflowInformation",
593580
"WorkflowInformationTypedDict",
594581
"WorkflowNode",
595-
"WorkflowNodeType",
596582
"WorkflowNodeTypedDict",
597583
"WorkflowSchedule",
598584
"WorkflowScheduleTypedDict",

src/unstructured_client/models/shared/createdestinationconnector.py

+6-12
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
AzureAISearchConnectorConfigInput,
1010
AzureAISearchConnectorConfigInputTypedDict,
1111
)
12-
from .azuredestinationconnectorconfiginput import (
13-
AzureDestinationConnectorConfigInput,
14-
AzureDestinationConnectorConfigInputTypedDict,
15-
)
1612
from .couchbasedestinationconnectorconfiginput import (
1713
CouchbaseDestinationConnectorConfigInput,
1814
CouchbaseDestinationConnectorConfigInputTypedDict,
@@ -96,21 +92,20 @@
9692
Union[
9793
GCSDestinationConnectorConfigInputTypedDict,
9894
ElasticsearchConnectorConfigInputTypedDict,
99-
MongoDBConnectorConfigInputTypedDict,
10095
AzureAISearchConnectorConfigInputTypedDict,
10196
WeaviateDestinationConnectorConfigInputTypedDict,
97+
MongoDBConnectorConfigInputTypedDict,
10298
DeltaTableConnectorConfigInputTypedDict,
10399
QdrantCloudDestinationConnectorConfigInputTypedDict,
104100
PineconeDestinationConnectorConfigInputTypedDict,
105-
AzureDestinationConnectorConfigInputTypedDict,
106101
Neo4jDestinationConnectorConfigInputTypedDict,
107102
OneDriveDestinationConnectorConfigInputTypedDict,
108103
S3DestinationConnectorConfigInputTypedDict,
109104
AstraDBConnectorConfigInputTypedDict,
110-
PostgresDestinationConnectorConfigInputTypedDict,
111105
MilvusDestinationConnectorConfigInputTypedDict,
112-
KafkaCloudDestinationConnectorConfigInputTypedDict,
113106
DatabricksVolumesConnectorConfigInputTypedDict,
107+
PostgresDestinationConnectorConfigInputTypedDict,
108+
KafkaCloudDestinationConnectorConfigInputTypedDict,
114109
CouchbaseDestinationConnectorConfigInputTypedDict,
115110
RedisDestinationConnectorConfigInputTypedDict,
116111
DatabricksVDTDestinationConnectorConfigInputTypedDict,
@@ -124,21 +119,20 @@
124119
Union[
125120
GCSDestinationConnectorConfigInput,
126121
ElasticsearchConnectorConfigInput,
127-
MongoDBConnectorConfigInput,
128122
AzureAISearchConnectorConfigInput,
129123
WeaviateDestinationConnectorConfigInput,
124+
MongoDBConnectorConfigInput,
130125
DeltaTableConnectorConfigInput,
131126
QdrantCloudDestinationConnectorConfigInput,
132127
PineconeDestinationConnectorConfigInput,
133-
AzureDestinationConnectorConfigInput,
134128
Neo4jDestinationConnectorConfigInput,
135129
OneDriveDestinationConnectorConfigInput,
136130
S3DestinationConnectorConfigInput,
137131
AstraDBConnectorConfigInput,
138-
PostgresDestinationConnectorConfigInput,
139132
MilvusDestinationConnectorConfigInput,
140-
KafkaCloudDestinationConnectorConfigInput,
141133
DatabricksVolumesConnectorConfigInput,
134+
PostgresDestinationConnectorConfigInput,
135+
KafkaCloudDestinationConnectorConfigInput,
142136
CouchbaseDestinationConnectorConfigInput,
143137
RedisDestinationConnectorConfigInput,
144138
DatabricksVDTDestinationConnectorConfigInput,

0 commit comments

Comments
 (0)