diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index db48ee55..52425407 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -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 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index bd8f6556..dbb4a0a9 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -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 diff --git a/README.md b/README.md index bf0b554c..c2b0b7f3 100755 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ with UnstructuredClient() as uc_client: "token": "", }, "name": "", - "type": shared.DestinationConnectorType.AZURE, + "type": shared.DestinationConnectorType.AZURE_AI_SEARCH, }, }, RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False)) @@ -159,7 +159,7 @@ with UnstructuredClient( "token": "", }, "name": "", - "type": shared.DestinationConnectorType.AZURE, + "type": shared.DestinationConnectorType.AZURE_AI_SEARCH, }, }) @@ -214,7 +214,7 @@ with UnstructuredClient() as uc_client: "token": "", }, "name": "", - "type": shared.DestinationConnectorType.AZURE, + "type": shared.DestinationConnectorType.AZURE_AI_SEARCH, }, }) @@ -347,7 +347,7 @@ with UnstructuredClient() as uc_client: "token": "", }, "name": "", - "type": shared.DestinationConnectorType.AZURE, + "type": shared.DestinationConnectorType.AZURE_AI_SEARCH, }, }) @@ -380,7 +380,7 @@ async def main(): "token": "", }, "name": "", - "type": shared.DestinationConnectorType.AZURE, + "type": shared.DestinationConnectorType.AZURE_AI_SEARCH, }, }) diff --git a/RELEASES.md b/RELEASES.md index 56081551..eb3bdbbc 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -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 - . diff --git a/USAGE.md b/USAGE.md index e08d5e01..27e85212 100644 --- a/USAGE.md +++ b/USAGE.md @@ -17,7 +17,7 @@ with UnstructuredClient() as uc_client: "token": "", }, "name": "", - "type": shared.DestinationConnectorType.AZURE, + "type": shared.DestinationConnectorType.AZURE_AI_SEARCH, }, }) @@ -50,7 +50,7 @@ async def main(): "token": "", }, "name": "", - "type": shared.DestinationConnectorType.AZURE, + "type": shared.DestinationConnectorType.AZURE_AI_SEARCH, }, }) diff --git a/codeSamples.yaml b/codeSamples.yaml index cb83c5a6..59130d07 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -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\": \"\",\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\": \"\",\n \"type\": shared.DestinationConnectorType.AZURE_AI_SEARCH,\n \"config\": {\n \"collection_name\": \"\",\n \"batch_size\": 20,\n \"api_endpoint\": \"\",\n \"token\": \"\",\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": @@ -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\": \"\",\n \"port\": 832931,\n \"username\": \"Salvador.Walsh-Thiel\",\n \"password\": \"vIMqbllzrdJBExE\",\n \"table_name\": \"\",\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": @@ -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\": \"\",\n \"port\": 848106,\n \"username\": \"Bruce.Stracke19\",\n \"password\": \"L8K8WEZq1xvBpSw\",\n \"table_name\": \"\",\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": diff --git a/docs/models/shared/config.md b/docs/models/shared/config.md index cd0363d3..457e0fd7 100644 --- a/docs/models/shared/config.md +++ b/docs/models/shared/config.md @@ -3,12 +3,6 @@ ## Supported Types -### `shared.AzureDestinationConnectorConfigInput` - -```python -value: shared.AzureDestinationConnectorConfigInput = /* values here */ -``` - ### `shared.AstraDBConnectorConfigInput` ```python diff --git a/docs/models/shared/destinationconnectorinformationconfig.md b/docs/models/shared/destinationconnectorinformationconfig.md index f18f6d71..3a711755 100644 --- a/docs/models/shared/destinationconnectorinformationconfig.md +++ b/docs/models/shared/destinationconnectorinformationconfig.md @@ -3,12 +3,6 @@ ## Supported Types -### `shared.AzureDestinationConnectorConfig` - -```python -value: shared.AzureDestinationConnectorConfig = /* values here */ -``` - ### `shared.AstraDBConnectorConfig` ```python diff --git a/docs/models/shared/destinationconnectortype.md b/docs/models/shared/destinationconnectortype.md index 7137af3e..57c24960 100644 --- a/docs/models/shared/destinationconnectortype.md +++ b/docs/models/shared/destinationconnectortype.md @@ -5,7 +5,6 @@ | Name | Value | | -------------------------------- | -------------------------------- | -| `AZURE` | azure | | `ASTRADB` | astradb | | `AZURE_AI_SEARCH` | azure_ai_search | | `COUCHBASE` | couchbase | diff --git a/docs/models/shared/updatedestinationconnectorconfig.md b/docs/models/shared/updatedestinationconnectorconfig.md index a7f36d4c..78d91893 100644 --- a/docs/models/shared/updatedestinationconnectorconfig.md +++ b/docs/models/shared/updatedestinationconnectorconfig.md @@ -3,12 +3,6 @@ ## Supported Types -### `shared.AzureDestinationConnectorConfigInput` - -```python -value: shared.AzureDestinationConnectorConfigInput = /* values here */ -``` - ### `shared.AstraDBConnectorConfigInput` ```python diff --git a/docs/models/shared/workflownode.md b/docs/models/shared/workflownode.md index 8a4809c3..0fa04000 100644 --- a/docs/models/shared/workflownode.md +++ b/docs/models/shared/workflownode.md @@ -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 | \ No newline at end of file +| 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 | \ No newline at end of file diff --git a/docs/sdks/destinations/README.md b/docs/sdks/destinations/README.md index 4ae26ac7..8a847af8 100644 --- a/docs/sdks/destinations/README.md +++ b/docs/sdks/destinations/README.md @@ -34,7 +34,7 @@ with UnstructuredClient() as uc_client: "token": "", }, "name": "", - "type": shared.DestinationConnectorType.AZURE, + "type": shared.DestinationConnectorType.AZURE_AI_SEARCH, }, }) diff --git a/gen.yaml b/gen.yaml index f4ce8dcf..bd93d4c5 100644 --- a/gen.yaml +++ b/gen.yaml @@ -12,7 +12,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false python: - version: 0.32.4 + version: 0.33.0 additionalDependencies: dev: deepdiff: '>=6.0' diff --git a/pyproject.toml b/pyproject.toml index 33347cda..23a1a66a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/unstructured_client/_version.py b/src/unstructured_client/_version.py index d73a07b8..63db4e6b 100644 --- a/src/unstructured_client/_version.py +++ b/src/unstructured_client/_version.py @@ -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: diff --git a/src/unstructured_client/models/shared/__init__.py b/src/unstructured_client/models/shared/__init__.py index a69961fa..25e37417 100644 --- a/src/unstructured_client/models/shared/__init__.py +++ b/src/unstructured_client/models/shared/__init__.py @@ -16,14 +16,6 @@ AzureAISearchConnectorConfigInput, AzureAISearchConnectorConfigInputTypedDict, ) -from .azuredestinationconnectorconfig import ( - AzureDestinationConnectorConfig, - AzureDestinationConnectorConfigTypedDict, -) -from .azuredestinationconnectorconfiginput import ( - AzureDestinationConnectorConfigInput, - AzureDestinationConnectorConfigInputTypedDict, -) from .azuresourceconnectorconfig import ( AzureSourceConnectorConfig, AzureSourceConnectorConfigTypedDict, @@ -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 @@ -392,10 +383,6 @@ "AzureAISearchConnectorConfigInput", "AzureAISearchConnectorConfigInputTypedDict", "AzureAISearchConnectorConfigTypedDict", - "AzureDestinationConnectorConfig", - "AzureDestinationConnectorConfigInput", - "AzureDestinationConnectorConfigInputTypedDict", - "AzureDestinationConnectorConfigTypedDict", "AzureSourceConnectorConfig", "AzureSourceConnectorConfigInput", "AzureSourceConnectorConfigInputTypedDict", @@ -592,7 +579,6 @@ "WorkflowInformation", "WorkflowInformationTypedDict", "WorkflowNode", - "WorkflowNodeType", "WorkflowNodeTypedDict", "WorkflowSchedule", "WorkflowScheduleTypedDict", diff --git a/src/unstructured_client/models/shared/createdestinationconnector.py b/src/unstructured_client/models/shared/createdestinationconnector.py index 2a3cbbe2..a6699c29 100644 --- a/src/unstructured_client/models/shared/createdestinationconnector.py +++ b/src/unstructured_client/models/shared/createdestinationconnector.py @@ -9,10 +9,6 @@ AzureAISearchConnectorConfigInput, AzureAISearchConnectorConfigInputTypedDict, ) -from .azuredestinationconnectorconfiginput import ( - AzureDestinationConnectorConfigInput, - AzureDestinationConnectorConfigInputTypedDict, -) from .couchbasedestinationconnectorconfiginput import ( CouchbaseDestinationConnectorConfigInput, CouchbaseDestinationConnectorConfigInputTypedDict, @@ -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, @@ -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, diff --git a/src/unstructured_client/models/shared/destinationconnectorinformation.py b/src/unstructured_client/models/shared/destinationconnectorinformation.py index 5dbc0e58..e25b50af 100644 --- a/src/unstructured_client/models/shared/destinationconnectorinformation.py +++ b/src/unstructured_client/models/shared/destinationconnectorinformation.py @@ -9,10 +9,6 @@ AzureAISearchConnectorConfig, AzureAISearchConnectorConfigTypedDict, ) -from .azuredestinationconnectorconfig import ( - AzureDestinationConnectorConfig, - AzureDestinationConnectorConfigTypedDict, -) from .couchbasedestinationconnectorconfig import ( CouchbaseDestinationConnectorConfig, CouchbaseDestinationConnectorConfigTypedDict, @@ -104,21 +100,20 @@ Union[ GCSDestinationConnectorConfigTypedDict, ElasticsearchConnectorConfigTypedDict, - MongoDBConnectorConfigTypedDict, AzureAISearchConnectorConfigTypedDict, WeaviateDestinationConnectorConfigTypedDict, + MongoDBConnectorConfigTypedDict, DeltaTableConnectorConfigTypedDict, QdrantCloudDestinationConnectorConfigTypedDict, PineconeDestinationConnectorConfigTypedDict, - AzureDestinationConnectorConfigTypedDict, AstraDBConnectorConfigTypedDict, Neo4jDestinationConnectorConfigTypedDict, OneDriveDestinationConnectorConfigTypedDict, S3DestinationConnectorConfigTypedDict, - PostgresDestinationConnectorConfigTypedDict, MilvusDestinationConnectorConfigTypedDict, - KafkaCloudDestinationConnectorConfigTypedDict, DatabricksVolumesConnectorConfigTypedDict, + PostgresDestinationConnectorConfigTypedDict, + KafkaCloudDestinationConnectorConfigTypedDict, CouchbaseDestinationConnectorConfigTypedDict, RedisDestinationConnectorConfigTypedDict, DatabricksVDTDestinationConnectorConfigTypedDict, @@ -132,21 +127,20 @@ Union[ GCSDestinationConnectorConfig, ElasticsearchConnectorConfig, - MongoDBConnectorConfig, AzureAISearchConnectorConfig, WeaviateDestinationConnectorConfig, + MongoDBConnectorConfig, DeltaTableConnectorConfig, QdrantCloudDestinationConnectorConfig, PineconeDestinationConnectorConfig, - AzureDestinationConnectorConfig, AstraDBConnectorConfig, Neo4jDestinationConnectorConfig, OneDriveDestinationConnectorConfig, S3DestinationConnectorConfig, - PostgresDestinationConnectorConfig, MilvusDestinationConnectorConfig, - KafkaCloudDestinationConnectorConfig, DatabricksVolumesConnectorConfig, + PostgresDestinationConnectorConfig, + KafkaCloudDestinationConnectorConfig, CouchbaseDestinationConnectorConfig, RedisDestinationConnectorConfig, DatabricksVDTDestinationConnectorConfig, diff --git a/src/unstructured_client/models/shared/destinationconnectortype.py b/src/unstructured_client/models/shared/destinationconnectortype.py index f61c4a77..098a3b38 100644 --- a/src/unstructured_client/models/shared/destinationconnectortype.py +++ b/src/unstructured_client/models/shared/destinationconnectortype.py @@ -5,7 +5,6 @@ class DestinationConnectorType(str, Enum): - AZURE = "azure" ASTRADB = "astradb" AZURE_AI_SEARCH = "azure_ai_search" COUCHBASE = "couchbase" diff --git a/src/unstructured_client/models/shared/updatedestinationconnector.py b/src/unstructured_client/models/shared/updatedestinationconnector.py index fd446c49..c0499187 100644 --- a/src/unstructured_client/models/shared/updatedestinationconnector.py +++ b/src/unstructured_client/models/shared/updatedestinationconnector.py @@ -9,10 +9,6 @@ AzureAISearchConnectorConfigInput, AzureAISearchConnectorConfigInputTypedDict, ) -from .azuredestinationconnectorconfiginput import ( - AzureDestinationConnectorConfigInput, - AzureDestinationConnectorConfigInputTypedDict, -) from .couchbasedestinationconnectorconfiginput import ( CouchbaseDestinationConnectorConfigInput, CouchbaseDestinationConnectorConfigInputTypedDict, @@ -95,21 +91,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, @@ -123,21 +118,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, diff --git a/src/unstructured_client/models/shared/workflownode.py b/src/unstructured_client/models/shared/workflownode.py index 87d22acc..86ca02a5 100644 --- a/src/unstructured_client/models/shared/workflownode.py +++ b/src/unstructured_client/models/shared/workflownode.py @@ -1,7 +1,6 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .workflownodetype import WorkflowNodeType from pydantic import model_serializer from typing import Any, Dict from typing_extensions import NotRequired, TypedDict @@ -17,7 +16,7 @@ class WorkflowNodeTypedDict(TypedDict): name: str subtype: str - type: WorkflowNodeType + type: str id: NotRequired[Nullable[str]] settings: NotRequired[Nullable[Dict[str, Any]]] @@ -27,7 +26,7 @@ class WorkflowNode(BaseModel): subtype: str - type: WorkflowNodeType + type: str id: OptionalNullable[str] = UNSET