Skip to content

chore: 🐝 Update SDK - Generate 0.31.4 #250

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 2 commits into from
Mar 26, 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
53 changes: 31 additions & 22 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 8b5fa338-9106-4734-abf0-e30d67044a90
management:
docChecksum: c4f3983b5eb89f59323e9fff5afa0acb
docChecksum: 46600a7b471a8b66237d0a37fb0c0286
docVersion: 1.0.81
speakeasyVersion: 1.521.1
generationVersion: 2.558.5
releaseVersion: 0.31.3
configChecksum: 04f975b0bdaad8df79df20dcb379d0b4
speakeasyVersion: 1.523.2
generationVersion: 2.560.1
releaseVersion: 0.31.4
configChecksum: 118a51b76b663b1fe71ffc9ffa63b747
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
Expand Down Expand Up @@ -58,8 +58,8 @@ generatedFiles:
- docs/models/operations/deletesourceresponse.md
- docs/models/operations/deleteworkflowrequest.md
- docs/models/operations/deleteworkflowresponse.md
- docs/models/operations/downloadplaygroundjobrequest.md
- docs/models/operations/downloadplaygroundjobresponse.md
- docs/models/operations/downloadjoboutputrequest.md
- docs/models/operations/downloadjoboutputresponse.md
- docs/models/operations/getdestinationrequest.md
- docs/models/operations/getdestinationresponse.md
- docs/models/operations/getjobrequest.md
Expand Down Expand Up @@ -111,8 +111,6 @@ generatedFiles:
- docs/models/shared/databricksvdtdestinationconnectorconfiginput.md
- docs/models/shared/databricksvolumesconnectorconfig.md
- docs/models/shared/databricksvolumesconnectorconfiginput.md
- docs/models/shared/databricksvolumessourceconnectorconfig.md
- docs/models/shared/databricksvolumessourceconnectorconfiginput.md
- docs/models/shared/deltatableconnectorconfig.md
- docs/models/shared/deltatableconnectorconfiginput.md
- docs/models/shared/destinationconnectorinformation.md
Expand All @@ -122,8 +120,6 @@ generatedFiles:
- docs/models/shared/dropboxsourceconnectorconfiginput.md
- docs/models/shared/elasticsearchconnectorconfig.md
- docs/models/shared/elasticsearchconnectorconfiginput.md
- docs/models/shared/elasticsearchsourceconnectorconfig.md
- docs/models/shared/elasticsearchsourceconnectorconfiginput.md
- docs/models/shared/files.md
- docs/models/shared/gcsdestinationconnectorconfig.md
- docs/models/shared/gcsdestinationconnectorconfiginput.md
Expand All @@ -136,15 +132,15 @@ generatedFiles:
- docs/models/shared/jirasourceconnectorconfiginput.md
- docs/models/shared/jobinformation.md
- docs/models/shared/jobstatus.md
- docs/models/shared/kafkaclouddestinationconnectorconfig.md
- docs/models/shared/kafkaclouddestinationconnectorconfiginput.md
- docs/models/shared/kafkacloudsourceconnectorconfig.md
- docs/models/shared/kafkacloudsourceconnectorconfiginput.md
- docs/models/shared/loc.md
- docs/models/shared/milvusdestinationconnectorconfig.md
- docs/models/shared/milvusdestinationconnectorconfiginput.md
- docs/models/shared/mongodbconnectorconfig.md
- docs/models/shared/mongodbconnectorconfiginput.md
- docs/models/shared/mongodbsourceconnectorconfig.md
- docs/models/shared/mongodbsourceconnectorconfiginput.md
- docs/models/shared/neo4jdestinationconnectorconfig.md
- docs/models/shared/neo4jdestinationconnectorconfiginput.md
- docs/models/shared/nodefilemetadata.md
Expand Down Expand Up @@ -201,6 +197,8 @@ generatedFiles:
- docs/models/shared/workflowschedule.md
- docs/models/shared/workflowstate.md
- docs/models/shared/workflowtype.md
- docs/models/shared/zendesksourceconnectorconfig.md
- docs/models/shared/zendesksourceconnectorconfiginput.md
- docs/models/utils/retryconfig.md
- docs/sdks/destinations/README.md
- docs/sdks/general/README.md
Expand Down Expand Up @@ -236,7 +234,7 @@ generatedFiles:
- src/unstructured_client/models/operations/delete_destination.py
- src/unstructured_client/models/operations/delete_source.py
- src/unstructured_client/models/operations/delete_workflow.py
- src/unstructured_client/models/operations/download_playground_job.py
- src/unstructured_client/models/operations/download_job_output.py
- src/unstructured_client/models/operations/get_destination.py
- src/unstructured_client/models/operations/get_job.py
- src/unstructured_client/models/operations/get_source.py
Expand Down Expand Up @@ -270,8 +268,6 @@ generatedFiles:
- src/unstructured_client/models/shared/createsourceconnector.py
- src/unstructured_client/models/shared/createworkflow.py
- src/unstructured_client/models/shared/crontabentry.py
- src/unstructured_client/models/shared/databricks_volumessourceconnectorconfig.py
- src/unstructured_client/models/shared/databricks_volumessourceconnectorconfiginput.py
- src/unstructured_client/models/shared/databricksvdtdestinationconnectorconfig.py
- src/unstructured_client/models/shared/databricksvdtdestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/databricksvolumesconnectorconfig.py
Expand All @@ -284,8 +280,6 @@ generatedFiles:
- src/unstructured_client/models/shared/dropboxsourceconnectorconfiginput.py
- src/unstructured_client/models/shared/elasticsearchconnectorconfig.py
- src/unstructured_client/models/shared/elasticsearchconnectorconfiginput.py
- src/unstructured_client/models/shared/elasticsearchsourceconnectorconfig.py
- src/unstructured_client/models/shared/elasticsearchsourceconnectorconfiginput.py
- src/unstructured_client/models/shared/gcsdestinationconnectorconfig.py
- src/unstructured_client/models/shared/gcsdestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/gcssourceconnectorconfig.py
Expand All @@ -296,14 +290,14 @@ generatedFiles:
- src/unstructured_client/models/shared/jirasourceconnectorconfiginput.py
- src/unstructured_client/models/shared/jobinformation.py
- src/unstructured_client/models/shared/jobstatus.py
- src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfig.py
- src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/kafkacloudsourceconnectorconfig.py
- src/unstructured_client/models/shared/kafkacloudsourceconnectorconfiginput.py
- src/unstructured_client/models/shared/milvusdestinationconnectorconfig.py
- src/unstructured_client/models/shared/milvusdestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/mongodbconnectorconfig.py
- src/unstructured_client/models/shared/mongodbconnectorconfiginput.py
- src/unstructured_client/models/shared/mongodbsourceconnectorconfig.py
- src/unstructured_client/models/shared/mongodbsourceconnectorconfiginput.py
- src/unstructured_client/models/shared/neo4jdestinationconnectorconfig.py
- src/unstructured_client/models/shared/neo4jdestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/nodefilemetadata.py
Expand Down Expand Up @@ -351,6 +345,8 @@ generatedFiles:
- src/unstructured_client/models/shared/workflowschedule.py
- src/unstructured_client/models/shared/workflowstate.py
- src/unstructured_client/models/shared/workflowtype.py
- src/unstructured_client/models/shared/zendesksourceconnectorconfig.py
- src/unstructured_client/models/shared/zendesksourceconnectorconfiginput.py
- src/unstructured_client/py.typed
- src/unstructured_client/sdk.py
- src/unstructured_client/sdkconfiguration.py
Expand Down Expand Up @@ -402,9 +398,9 @@ examples:
header: {}
responses:
"200":
application/json: {"config": {"catalog": "<value>", "database": "<value>", "table_name": "<value>", "volume": "<value>"}, "created_at": "2024-10-14T19:54:11.006Z", "id": "42a89289-d2ad-4317-9f06-cb55de8b2b8c", "name": "<value>", "type": "databricks_volumes"}
application/json: {"config": {"aws_access_key_id": "<id>", "aws_region": "<value>", "aws_secret_access_key": "<value>", "table_uri": "https://similar-outlaw.com/"}, "created_at": "2024-10-14T19:54:11.006Z", "id": "42a89289-d2ad-4317-9f06-cb55de8b2b8c", "name": "<value>", "type": "databricks_volumes"}
"422":
application/json: {"detail": []}
application/json: {"detail": [{"loc": [673293, 205350], "msg": "<value>", "type": "<value>"}, {"loc": [892410, 956769, 161297], "msg": "<value>", "type": "<value>"}, {"loc": [107816], "msg": "<value>", "type": "<value>"}]}
list_destinations:
speakeasy-default-list-destinations:
responses:
Expand Down Expand Up @@ -592,5 +588,18 @@ examples:
application/json: "<value>"
"422":
application/json: {"detail": "<value>"}
download_job_output:
speakeasy-default-download-job-output:
parameters:
path:
job_id: "bddbb621-2124-4cc2-9fa7-c6cdc21dac44"
query:
file_id: "<id>"
header: {}
responses:
"200":
application/json: "<value>"
"422":
application/json: {"detail": "<value>"}
examplesVersion: 1.0.0
generatedTests: {}
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.521.1
speakeasyVersion: 1.523.2
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:c729b7c3e96441f37c558955fa9dd2d6401b25c7cdd776635fcb9b972060ec97
sourceBlobDigest: sha256:5c6ce34332451057e7e4b373e3c6ca3222b85ba990052d3afe7ed5ef7e378259
sourceRevisionDigest: sha256:5a58584b6a505a86a986c125b627a886cdfb2b2655e2a5afd1101b61fea0da83
sourceBlobDigest: sha256:8782880b94bd48cee277e4627738e65fb2cb6092205ea01ae23ca37f738b93ad
tags:
- latest
- speakeasy-sdk-regen-1742509545
- speakeasy-sdk-regen-1743008607
- 1.0.81
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:c729b7c3e96441f37c558955fa9dd2d6401b25c7cdd776635fcb9b972060ec97
sourceBlobDigest: sha256:5c6ce34332451057e7e4b373e3c6ca3222b85ba990052d3afe7ed5ef7e378259
sourceRevisionDigest: sha256:5a58584b6a505a86a986c125b627a886cdfb2b2655e2a5afd1101b61fea0da83
sourceBlobDigest: sha256:8782880b94bd48cee277e4627738e65fb2cb6092205ea01ae23ca37f738b93ad
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:2764e948ee50d277f55fe2c55409941a8fbb095d210a5f571e0a8434b4f2da4f
codeSamplesRevisionDigest: sha256:761a4a501ade8b0f803d044236935d9bf4d8593eb1601c4e301fc50896ecb0cf
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -875,4 +875,14 @@ Based on:
### Generated
- [python v0.31.3] .
### Releases
- [PyPI v0.31.3] https://pypi.org/project/unstructured-client/0.31.3 - .
- [PyPI v0.31.3] https://pypi.org/project/unstructured-client/0.31.3 - .

## 2025-03-26 17:03:10
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.523.2 (2.560.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.31.4] .
### Releases
- [PyPI v0.31.4] https://pypi.org/project/unstructured-client/0.31.4 - .
8 changes: 4 additions & 4 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ actions:
update:
"x-codeSamples":
- "lang": "python"
"label": "download_playground_job"
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.jobs.download_playground_job(request={\n \"job_id\": \"844a9b13-d032-43c7-8e81-b20a874c4c79\",\n \"file_id\": \"<id>\",\n })\n\n assert res.any is not None\n\n # Handle response\n print(res.any)"
"label": "download_job_output"
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.jobs.download_job_output(request={\n \"job_id\": \"bddbb621-2124-4cc2-9fa7-c6cdc21dac44\",\n \"file_id\": \"<id>\",\n })\n\n assert res.any is not None\n\n # Handle response\n print(res.any)"
- target: $["paths"]["/api/v1/sources/"]["get"]
update:
"x-codeSamples":
Expand All @@ -68,7 +68,7 @@ actions:
"x-codeSamples":
- "lang": "python"
"label": "create_source"
"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.SALESFORCE,\n \"config\": {\n \"client_id\": \"<id>\",\n \"client_secret\": \"<value>\",\n \"tenant_id\": \"<id>\",\n \"site_url\": \"https://caring-cash.name/\",\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_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.sources.create_source(request={\n \"create_source_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.SourceConnectorType.SHAREPOINT,\n \"config\": {\n \"account\": \"21158540\",\n \"role\": \"<value>\",\n \"user\": \"Andrew_Ebert71\",\n \"password\": \"RKAX3jUtlnjWe9D\",\n \"host\": \"impractical-academics.net\",\n \"port\": 443,\n \"database\": \"<value>\",\n \"schema_\": \"<value>\",\n \"table_name\": \"<value>\",\n \"batch_size\": 100,\n \"id_column\": \"<value>\",\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}"]["delete"]
update:
"x-codeSamples":
Expand All @@ -86,7 +86,7 @@ actions:
"x-codeSamples":
- "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\": \"2396edec-439e-48ef-a6c6-9c9e3ba7a841\",\n \"update_source_connector\": {\n \"config\": {\n \"host\": \"black-and-white-obesity.info\",\n \"database\": \"<value>\",\n \"port\": 5432,\n \"username\": \"Rosendo_Kub3\",\n \"password\": \"L8K8WEZq1xvBpSw\",\n \"table_name\": \"<value>\",\n \"batch_size\": 100,\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
"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/workflows/"]["get"]
update:
"x-codeSamples":
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DownloadPlaygroundJobRequest
# DownloadJobOutputRequest


## Fields
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DownloadPlaygroundJobResponse
# DownloadJobOutputResponse


## Fields
Expand Down
10 changes: 8 additions & 2 deletions docs/models/shared/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ value: shared.ElasticsearchConnectorConfigInput = /* values here */
value: shared.GCSDestinationConnectorConfigInput = /* values here */
```

### `shared.KafkaCloudDestinationConnectorConfigInput`

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

### `shared.MilvusDestinationConnectorConfigInput`

```python
Expand All @@ -75,10 +81,10 @@ value: shared.Neo4jDestinationConnectorConfigInput = /* values here */
value: shared.OneDriveDestinationConnectorConfigInput = /* values here */
```

### `shared.PineconeDestinationConnectorConfig`
### `shared.PineconeDestinationConnectorConfigInput`

```python
value: shared.PineconeDestinationConnectorConfig = /* values here */
value: shared.PineconeDestinationConnectorConfigInput = /* values here */
```

### `shared.PostgresDestinationConnectorConfigInput`
Expand Down
2 changes: 1 addition & 1 deletion docs/models/shared/confluencesourceconnectorconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
| `cloud` | *bool* | :heavy_check_mark: | N/A |
| `max_num_of_docs_from_each_space` | *int* | :heavy_check_mark: | N/A |
| `max_num_of_spaces` | *int* | :heavy_check_mark: | N/A |
| `spaces` | *Nullable[str]* | :heavy_check_mark: | N/A |
| `url` | *str* | :heavy_check_mark: | N/A |
| `username` | *str* | :heavy_check_mark: | N/A |
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `spaces` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
2 changes: 1 addition & 1 deletion docs/models/shared/couchbasesourceconnectorconfiginput.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

| Field | Type | Required | Description |
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| `batch_size` | *int* | :heavy_check_mark: | N/A |
| `bucket` | *str* | :heavy_check_mark: | N/A |
| `collection_id` | *str* | :heavy_check_mark: | N/A |
| `connection_string` | *str* | :heavy_check_mark: | N/A |
| `password` | *str* | :heavy_check_mark: | N/A |
| `username` | *str* | :heavy_check_mark: | N/A |
| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A |
| `collection` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
Loading
Loading