Skip to content

Commit 8956fee

Browse files
committed
## Python SDK Changes:
* `unstructured_client.sources.create_source()`: * `request.create_source_connector` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.destinations.create_destination()`: * `request.create_destination_connector` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.sources.update_source()`: * `request.update_source_connector.config` **Changed** * `response` **Changed** (Breaking ⚠️) * `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.sources.list_sources()`: * `request.source_type` **Changed** * `response.[]` **Changed** (Breaking ⚠️) * `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.destinations.get_destination()`: * `response` **Changed** (Breaking ⚠️) * `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.destinations.list_destinations()`: * `request.destination_type` **Changed** * `response.[]` **Changed** (Breaking ⚠️) * `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.destinations.update_destination()`: * `request.update_destination_connector.config` **Changed** * `response` **Changed** (Breaking ⚠️) * `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.sources.get_source()`: * `response` **Changed** (Breaking ⚠️) * `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.sources.create_connection_check_sources()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.destinations.get_connection_check_destinations()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.jobs.get_job()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.jobs.get_job_details()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.jobs.get_job_failed_files()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.jobs.list_jobs()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.destinations.create_connection_check_destinations()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.jobs.create_job()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.sources.delete_source()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.sources.get_connection_check_sources()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.jobs.cancel_job()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.jobs.download_job_output()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.destinations.delete_destination()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.templates.get_template()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.templates.list_templates()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.workflows.create_workflow()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.workflows.delete_workflow()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.workflows.get_workflow()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.workflows.list_workflows()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.workflows.run_workflow()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.workflows.update_workflow()`: `error.detail.union(Array<ValidationError>)[]` **Changed** * `unstructured_client.general.partition()`: `error.detail.union(Array<ValidationError>)[]` **Changed**
1 parent fbd80fd commit 8956fee

File tree

59 files changed

+1058
-230
lines changed

Some content is hidden

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

59 files changed

+1058
-230
lines changed

.speakeasy/gen.lock

Lines changed: 132 additions & 87 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.601.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:bb294c5acf766035792f752ed036cc8e4183e5f23b75fa5cb885b7499dcf6306
6-
sourceBlobDigest: sha256:555b59cc03c5a4e9bfb3817e48dec67a8b8e13a6a46712cf5e23a6230fec359e
5+
sourceRevisionDigest: sha256:1279a852d7894f376299674a3868477c5d3d002c6536991a37db76a59b9191f7
6+
sourceBlobDigest: sha256:f80d6a7fce90ccdd87d79277de2d1c07e3ab624ceff2cdb91b55665e267b0e48
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1768522382
10-
- 1.2.28
9+
- speakeasy-sdk-regen-1770164039
10+
- 1.3.4
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:bb294c5acf766035792f752ed036cc8e4183e5f23b75fa5cb885b7499dcf6306
16-
sourceBlobDigest: sha256:555b59cc03c5a4e9bfb3817e48dec67a8b8e13a6a46712cf5e23a6230fec359e
15+
sourceRevisionDigest: sha256:1279a852d7894f376299674a3868477c5d3d002c6536991a37db76a59b9191f7
16+
sourceBlobDigest: sha256:f80d6a7fce90ccdd87d79277de2d1c07e3ab624ceff2cdb91b55665e267b0e48
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:4dd3dc9d9824533e6a8e70ef4a0db808b125deb8c266a62a99a11c64162b7595
18+
codeSamplesRevisionDigest: sha256:489cf8fc218e3efced020d79d12139679006fac4b436e781d0f97a3effeccc49
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,4 +1190,14 @@ Based on:
11901190
### Generated
11911191
- [python v0.42.10] .
11921192
### Releases
1193+
- [PyPI v0.42.10] https://pypi.org/project/unstructured-client/0.42.10 - .
1194+
1195+
## 2026-02-15 00:16:48
1196+
### Changes
1197+
Based on:
1198+
- OpenAPI Doc
1199+
- Speakeasy CLI 1.601.0 (2.680.0) https://github.com/speakeasy-api/speakeasy
1200+
### Generated
1201+
- [python v0.42.10] .
1202+
### Releases
11931203
- [PyPI v0.42.10] https://pypi.org/project/unstructured-client/0.42.10 - .

codeSamples.yaml

Lines changed: 3 additions & 3 deletions
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 operations, shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request=operations.CreateDestinationRequest(\n create_destination_connector=shared.CreateDestinationConnector(\n name=\"<value>\",\n type=shared.DestinationConnectorType.MOTHERDUCK,\n config={\n \"hosts\": [],\n \"index_name\": \"<value>\",\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 operations, shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request=operations.CreateDestinationRequest(\n create_destination_connector=shared.CreateDestinationConnector(\n name=\"<value>\",\n type=\"<value>\",\n config=shared.PineconeDestinationConnectorConfigInput(\n index_name=\"<value>\",\n api_key=\"<value>\",\n namespace=\"<value>\",\n batch_size=50,\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":
@@ -98,7 +98,7 @@ actions:
9898
"x-codeSamples":
9999
- "lang": "python"
100100
"label": "create_source"
101-
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.create_source(request={\n \"create_source_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.SourceConnectorType.DROPBOX,\n \"config\": {\n \"box_app_config\": \"<value>\",\n \"remote_url\": \"https://ugly-ribbon.info\",\n \"recursive\": True,\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
101+
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import operations, shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.create_source(request=operations.CreateSourceRequest(\n create_source_connector=shared.CreateSourceConnector(\n name=\"<value>\",\n type=shared.SourceConnectorType.BOX,\n config={\n \"host\": \"ugly-ribbon.info\",\n \"database\": \"<value>\",\n \"port\": 526676,\n \"username\": \"Albertha_Senger\",\n \"password\": \"jIalrq2izU8rFxd\",\n \"table_name\": \"<value>\",\n \"batch_size\": 637100,\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)"
102102
- target: $["paths"]["/api/v1/sources/{source_id}"]["delete"]
103103
update:
104104
"x-codeSamples":
@@ -116,7 +116,7 @@ actions:
116116
"x-codeSamples":
117117
- "lang": "python"
118118
"label": "update_source"
119-
"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\": \"6ddfe201-42c1-4097-a271-1fc2801d1903\",\n \"update_source_connector\": {\n \"config\": {\n \"bucket\": \"<value>\",\n \"connection_string\": \"<value>\",\n \"batch_size\": 615322,\n \"username\": \"Lue.Murphy87\",\n \"password\": \"qfyDYveMwvwoQEV\",\n \"collection_id\": \"<id>\",\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
119+
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import operations, shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.update_source(request=operations.UpdateSourceRequest(\n source_id=\"6ddfe201-42c1-4097-a271-1fc2801d1903\",\n update_source_connector=shared.UpdateSourceConnector(\n config={\n \"bucket\": \"<value>\",\n \"connection_string\": \"<value>\",\n \"batch_size\": 615322,\n \"username\": \"Lue.Murphy87\",\n \"password\": \"qfyDYveMwvwoQEV\",\n \"collection_id\": \"<id>\",\n },\n ),\n ))\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
120120
- target: $["paths"]["/api/v1/sources/{source_id}/connection-check"]["get"]
121121
update:
122122
"x-codeSamples":

docs/models/shared/config.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,12 @@ value: shared.S3DestinationConnectorConfigInput = /* values here */
129129
value: shared.SnowflakeDestinationConnectorConfigInput = /* values here */
130130
```
131131

132+
### `shared.TeradataDestinationConnectorConfigInput`
133+
134+
```python
135+
value: shared.TeradataDestinationConnectorConfigInput = /* values here */
136+
```
137+
132138
### `shared.WeaviateDestinationConnectorConfigInput`
133139

134140
```python

docs/models/shared/context.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Context
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------- | ----------- | ----------- | ----------- |

docs/models/shared/createdestinationconnector.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
8-
| `config` | [shared.Config](../../models/shared/config.md) | :heavy_check_mark: | N/A |
9-
| `name` | *str* | :heavy_check_mark: | N/A |
10-
| `type` | [shared.DestinationConnectorType](../../models/shared/destinationconnectortype.md) | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- |
8+
| `config` | [shared.Config](../../models/shared/config.md) | :heavy_check_mark: | N/A |
9+
| `name` | *str* | :heavy_check_mark: | N/A |
10+
| `type` | [shared.Type](../../models/shared/type.md) | :heavy_check_mark: | N/A |

docs/models/shared/createsourceconnector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
88
| `config` | [shared.CreateSourceConnectorConfig](../../models/shared/createsourceconnectorconfig.md) | :heavy_check_mark: | N/A |
99
| `name` | *str* | :heavy_check_mark: | N/A |
10-
| `type` | [shared.SourceConnectorType](../../models/shared/sourceconnectortype.md) | :heavy_check_mark: | N/A |
10+
| `type` | [shared.CreateSourceConnectorType](../../models/shared/createsourceconnectortype.md) | :heavy_check_mark: | N/A |

docs/models/shared/createsourceconnectorconfig.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ value: shared.SharePointSourceConnectorConfigInput = /* values here */
117117
value: shared.SnowflakeSourceConnectorConfigInput = /* values here */
118118
```
119119

120+
### `shared.TeradataSourceConnectorConfigInput`
121+
122+
```python
123+
value: shared.TeradataSourceConnectorConfigInput = /* values here */
124+
```
125+
120126
### `shared.JiraSourceConnectorConfigInput`
121127

122128
```python
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# CreateSourceConnectorType
2+
3+
4+
## Supported Types
5+
6+
### `shared.SourceConnectorType`
7+
8+
```python
9+
value: shared.SourceConnectorType = /* values here */
10+
```
11+
12+
### `str`
13+
14+
```python
15+
value: str = /* values here */
16+
```
17+

0 commit comments

Comments
 (0)