Skip to content

chore: 🐝 Update SDK - Generate 0.33.0 #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ management:
docVersion: 1.1.7
speakeasyVersion: 1.534.0
generationVersion: 2.585.0
releaseVersion: 0.32.4
configChecksum: cb28766c7ee08012d26a252eff80b540
releaseVersion: 0.33.0
configChecksum: d3a6fe7f2ae7f430c8fff9c158af4f46
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.533.0
speakeasyVersion: 1.535.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:a8e522e14e6e4dcd554243ec05cd244661f123d20a034f554450fde6ac22df5d
sourceRevisionDigest: sha256:8682267837b89a2ee79370a4ad952198440742fd4e6da24fd6c8061be3e52c03
sourceBlobDigest: sha256:1549523a97b9ebd09012362367f313beb08069f42290a5186a65854ceff2ecd1
tags:
- latest
- speakeasy-sdk-regen-1744330218
- speakeasy-sdk-regen-1744919342
- 1.1.7
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:a8e522e14e6e4dcd554243ec05cd244661f123d20a034f554450fde6ac22df5d
sourceRevisionDigest: sha256:8682267837b89a2ee79370a4ad952198440742fd4e6da24fd6c8061be3e52c03
sourceBlobDigest: sha256:1549523a97b9ebd09012362367f313beb08069f42290a5186a65854ceff2ecd1
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:c2682243f39e191854da0810e5ebd887bb5fd4efc65079432c521644f0ee2945
codeSamplesRevisionDigest: sha256:42c3a9e6802072bcdb162dd89daa5b4a59b92c4dffd0b852e212812845f6b556
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ with UnstructuredClient() as uc_client:
"token": "<value>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.AZURE,
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
},
},
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
Expand Down Expand Up @@ -159,7 +159,7 @@ with UnstructuredClient(
"token": "<value>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.AZURE,
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
},
})

Expand Down Expand Up @@ -214,7 +214,7 @@ with UnstructuredClient() as uc_client:
"token": "<value>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.AZURE,
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
},
})

Expand Down Expand Up @@ -347,7 +347,7 @@ with UnstructuredClient() as uc_client:
"token": "<value>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.AZURE,
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
},
})

Expand Down Expand Up @@ -380,7 +380,7 @@ async def main():
"token": "<value>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.AZURE,
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
},
})

Expand Down
11 changes: 11 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -956,3 +956,14 @@ Based on:
- [python v0.32.4] .
### Releases
- [PyPI v0.32.4] https://pypi.org/project/unstructured-client/0.32.4 - .


## 2025-04-17 19:48:46
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.535.0 (2.585.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.33.0] .
### Releases
- [PyPI v0.33.0] https://pypi.org/project/unstructured-client/0.33.0 - .
4 changes: 2 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ with UnstructuredClient() as uc_client:
"token": "<value>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.AZURE,
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
},
})

Expand Down Expand Up @@ -50,7 +50,7 @@ async def main():
"token": "<value>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.AZURE,
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
},
})

Expand Down
26 changes: 25 additions & 1 deletion codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ actions:
"x-codeSamples":
- "lang": "python"
"label": "create_destination"
"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)"
"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)"
- target: $["paths"]["/api/v1/destinations/{destination_id}"]["delete"]
update:
"x-codeSamples":
Expand All @@ -33,6 +33,18 @@ actions:
- "lang": "python"
"label": "update_destination"
"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)"
- target: $["paths"]["/api/v1/destinations/{destination_id}/connection-check"]["get"]
update:
"x-codeSamples":
- "lang": "python"
"label": "get_destination_connection_check_api_v1_destinations__destination_id__connection_check_get"
"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)"
- target: $["paths"]["/api/v1/destinations/{destination_id}/connection-check"]["post"]
update:
"x-codeSamples":
- "lang": "python"
"label": "check_destination_connection_api_v1_destinations__destination_id__connection_check_post"
"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)"
- target: $["paths"]["/api/v1/jobs/"]["get"]
update:
"x-codeSamples":
Expand Down Expand Up @@ -87,6 +99,18 @@ actions:
- "lang": "python"
"label": "update_source"
"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)"
- target: $["paths"]["/api/v1/sources/{source_id}/connection-check"]["get"]
update:
"x-codeSamples":
- "lang": "python"
"label": "get_connection_check_api_v1_sources__source_id__connection_check_get"
"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)"
- target: $["paths"]["/api/v1/sources/{source_id}/connection-check"]["post"]
update:
"x-codeSamples":
- "lang": "python"
"label": "check_connection_api_v1_sources__source_id__connection_check_post"
"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)"
- target: $["paths"]["/api/v1/workflows/"]["get"]
update:
"x-codeSamples":
Expand Down
6 changes: 0 additions & 6 deletions docs/models/shared/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

## Supported Types

### `shared.AzureDestinationConnectorConfigInput`

```python
value: shared.AzureDestinationConnectorConfigInput = /* values here */
```

### `shared.AstraDBConnectorConfigInput`

```python
Expand Down
6 changes: 0 additions & 6 deletions docs/models/shared/destinationconnectorinformationconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

## Supported Types

### `shared.AzureDestinationConnectorConfig`

```python
value: shared.AzureDestinationConnectorConfig = /* values here */
```

### `shared.AstraDBConnectorConfig`

```python
Expand Down
1 change: 0 additions & 1 deletion docs/models/shared/destinationconnectortype.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

| Name | Value |
| -------------------------------- | -------------------------------- |
| `AZURE` | azure |
| `ASTRADB` | astradb |
| `AZURE_AI_SEARCH` | azure_ai_search |
| `COUCHBASE` | couchbase |
Expand Down
6 changes: 0 additions & 6 deletions docs/models/shared/updatedestinationconnectorconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

## Supported Types

### `shared.AzureDestinationConnectorConfigInput`

```python
value: shared.AzureDestinationConnectorConfigInput = /* values here */
```

### `shared.AstraDBConnectorConfigInput`

```python
Expand Down
14 changes: 7 additions & 7 deletions docs/models/shared/workflownode.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `name` | *str* | :heavy_check_mark: | N/A |
| `settings` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
| `subtype` | *str* | :heavy_check_mark: | N/A |
| `type` | [shared.WorkflowNodeType](../../models/shared/workflownodetype.md) | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `name` | *str* | :heavy_check_mark: | N/A |
| `settings` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
| `subtype` | *str* | :heavy_check_mark: | N/A |
| `type` | *str* | :heavy_check_mark: | N/A |
2 changes: 1 addition & 1 deletion docs/sdks/destinations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ with UnstructuredClient() as uc_client:
"token": "<value>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.AZURE,
"type": shared.DestinationConnectorType.AZURE_AI_SEARCH,
},
})

Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
python:
version: 0.32.4
version: 0.33.0
additionalDependencies:
dev:
deepdiff: '>=6.0'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "unstructured-client"
version = "0.32.4"
version = "0.33.0"
description = "Python Client SDK for Unstructured API"
authors = [{ name = "Unstructured" },]
readme = "README-PYPI.md"
Expand Down
4 changes: 2 additions & 2 deletions src/unstructured_client/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "unstructured-client"
__version__: str = "0.32.4"
__version__: str = "0.33.0"
__openapi_doc_version__: str = "1.1.7"
__gen_version__: str = "2.585.0"
__user_agent__: str = "speakeasy-sdk/python 0.32.4 2.585.0 1.1.7 unstructured-client"
__user_agent__: str = "speakeasy-sdk/python 0.33.0 2.585.0 1.1.7 unstructured-client"

try:
if __package__ is not None:
Expand Down
14 changes: 0 additions & 14 deletions src/unstructured_client/models/shared/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@
AzureAISearchConnectorConfigInput,
AzureAISearchConnectorConfigInputTypedDict,
)
from .azuredestinationconnectorconfig import (
AzureDestinationConnectorConfig,
AzureDestinationConnectorConfigTypedDict,
)
from .azuredestinationconnectorconfiginput import (
AzureDestinationConnectorConfigInput,
AzureDestinationConnectorConfigInputTypedDict,
)
from .azuresourceconnectorconfig import (
AzureSourceConnectorConfig,
AzureSourceConnectorConfigTypedDict,
Expand Down Expand Up @@ -369,7 +361,6 @@
)
from .workflowinformation import WorkflowInformation, WorkflowInformationTypedDict
from .workflownode import WorkflowNode, WorkflowNodeTypedDict
from .workflownodetype import WorkflowNodeType
from .workflowschedule import WorkflowSchedule, WorkflowScheduleTypedDict
from .workflowstate import WorkflowState
from .workflowtype import WorkflowType
Expand All @@ -392,10 +383,6 @@
"AzureAISearchConnectorConfigInput",
"AzureAISearchConnectorConfigInputTypedDict",
"AzureAISearchConnectorConfigTypedDict",
"AzureDestinationConnectorConfig",
"AzureDestinationConnectorConfigInput",
"AzureDestinationConnectorConfigInputTypedDict",
"AzureDestinationConnectorConfigTypedDict",
"AzureSourceConnectorConfig",
"AzureSourceConnectorConfigInput",
"AzureSourceConnectorConfigInputTypedDict",
Expand Down Expand Up @@ -592,7 +579,6 @@
"WorkflowInformation",
"WorkflowInformationTypedDict",
"WorkflowNode",
"WorkflowNodeType",
"WorkflowNodeTypedDict",
"WorkflowSchedule",
"WorkflowScheduleTypedDict",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
AzureAISearchConnectorConfigInput,
AzureAISearchConnectorConfigInputTypedDict,
)
from .azuredestinationconnectorconfiginput import (
AzureDestinationConnectorConfigInput,
AzureDestinationConnectorConfigInputTypedDict,
)
from .couchbasedestinationconnectorconfiginput import (
CouchbaseDestinationConnectorConfigInput,
CouchbaseDestinationConnectorConfigInputTypedDict,
Expand Down Expand Up @@ -96,21 +92,20 @@
Union[
GCSDestinationConnectorConfigInputTypedDict,
ElasticsearchConnectorConfigInputTypedDict,
MongoDBConnectorConfigInputTypedDict,
AzureAISearchConnectorConfigInputTypedDict,
WeaviateDestinationConnectorConfigInputTypedDict,
MongoDBConnectorConfigInputTypedDict,
DeltaTableConnectorConfigInputTypedDict,
QdrantCloudDestinationConnectorConfigInputTypedDict,
PineconeDestinationConnectorConfigInputTypedDict,
AzureDestinationConnectorConfigInputTypedDict,
Neo4jDestinationConnectorConfigInputTypedDict,
OneDriveDestinationConnectorConfigInputTypedDict,
S3DestinationConnectorConfigInputTypedDict,
AstraDBConnectorConfigInputTypedDict,
PostgresDestinationConnectorConfigInputTypedDict,
MilvusDestinationConnectorConfigInputTypedDict,
KafkaCloudDestinationConnectorConfigInputTypedDict,
DatabricksVolumesConnectorConfigInputTypedDict,
PostgresDestinationConnectorConfigInputTypedDict,
KafkaCloudDestinationConnectorConfigInputTypedDict,
CouchbaseDestinationConnectorConfigInputTypedDict,
RedisDestinationConnectorConfigInputTypedDict,
DatabricksVDTDestinationConnectorConfigInputTypedDict,
Expand All @@ -124,21 +119,20 @@
Union[
GCSDestinationConnectorConfigInput,
ElasticsearchConnectorConfigInput,
MongoDBConnectorConfigInput,
AzureAISearchConnectorConfigInput,
WeaviateDestinationConnectorConfigInput,
MongoDBConnectorConfigInput,
DeltaTableConnectorConfigInput,
QdrantCloudDestinationConnectorConfigInput,
PineconeDestinationConnectorConfigInput,
AzureDestinationConnectorConfigInput,
Neo4jDestinationConnectorConfigInput,
OneDriveDestinationConnectorConfigInput,
S3DestinationConnectorConfigInput,
AstraDBConnectorConfigInput,
PostgresDestinationConnectorConfigInput,
MilvusDestinationConnectorConfigInput,
KafkaCloudDestinationConnectorConfigInput,
DatabricksVolumesConnectorConfigInput,
PostgresDestinationConnectorConfigInput,
KafkaCloudDestinationConnectorConfigInput,
CouchbaseDestinationConnectorConfigInput,
RedisDestinationConnectorConfigInput,
DatabricksVDTDestinationConnectorConfigInput,
Expand Down
Loading
Loading