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β€Ž

Lines changed: 2 additions & 2 deletions
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β€Ž

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: 5 additions & 5 deletions
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β€Ž

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

β€ŽUSAGE.mdβ€Ž

Lines changed: 2 additions & 2 deletions
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β€Ž

Lines changed: 25 additions & 1 deletion
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β€Ž

Lines changed: 0 additions & 6 deletions
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β€Ž

Lines changed: 0 additions & 6 deletions
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β€Ž

Lines changed: 0 additions & 1 deletion
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β€Ž

Lines changed: 0 additions & 6 deletions
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

0 commit comments

Comments
Β (0)