Skip to content

chore: 🐝 Update SDK - Generate 0.37.1 #275

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
63 changes: 59 additions & 4 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: 1305a6771cbde39530fd78e1b8acb938
docVersion: 1.1.17
docChecksum: 83b80320b841ae9fc6dddb0888912f9a
docVersion: 1.1.25
speakeasyVersion: 1.552.0
generationVersion: 2.610.0
releaseVersion: 0.36.0
configChecksum: e1d52979607afacfb892d70fedc250fb
releaseVersion: 0.37.1
configChecksum: 995e2ded80d15617a1661ac4be288219
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 @@ -70,6 +70,10 @@ generatedFiles:
- docs/models/operations/getconnectionchecksourcesresponse.md
- docs/models/operations/getdestinationrequest.md
- docs/models/operations/getdestinationresponse.md
- docs/models/operations/getjobdetailsrequest.md
- docs/models/operations/getjobdetailsresponse.md
- docs/models/operations/getjobfailedfilesrequest.md
- docs/models/operations/getjobfailedfilesresponse.md
- docs/models/operations/getjobrequest.md
- docs/models/operations/getjobresponse.md
- docs/models/operations/getsourcerequest.md
Expand All @@ -86,6 +90,8 @@ generatedFiles:
- docs/models/operations/listworkflowsresponse.md
- docs/models/operations/partitionrequest.md
- docs/models/operations/partitionresponse.md
- docs/models/operations/retrieverequest.md
- docs/models/operations/retrieveresponse.md
- docs/models/operations/runworkflowrequest.md
- docs/models/operations/runworkflowresponse.md
- docs/models/operations/updatedestinationrequest.md
Expand Down Expand Up @@ -130,6 +136,7 @@ generatedFiles:
- docs/models/shared/dropboxsourceconnectorconfiginput.md
- docs/models/shared/elasticsearchconnectorconfig.md
- docs/models/shared/elasticsearchconnectorconfiginput.md
- docs/models/shared/failedfile.md
- docs/models/shared/files.md
- docs/models/shared/gcsdestinationconnectorconfig.md
- docs/models/shared/gcsdestinationconnectorconfiginput.md
Expand All @@ -142,7 +149,11 @@ generatedFiles:
- docs/models/shared/inputfiles.md
- docs/models/shared/jirasourceconnectorconfig.md
- docs/models/shared/jirasourceconnectorconfiginput.md
- docs/models/shared/jobdetails.md
- docs/models/shared/jobfailedfiles.md
- docs/models/shared/jobinformation.md
- docs/models/shared/jobnodedetails.md
- docs/models/shared/jobprocessingstatus.md
- docs/models/shared/jobstatus.md
- docs/models/shared/kafkaclouddestinationconnectorconfig.md
- docs/models/shared/kafkaclouddestinationconnectorconfiginput.md
Expand All @@ -164,6 +175,7 @@ generatedFiles:
- docs/models/shared/outlooksourceconnectorconfiginput.md
- docs/models/shared/outputformat.md
- docs/models/shared/partitionparameters.md
- docs/models/shared/pemauthresponse.md
- docs/models/shared/pineconedestinationconnectorconfig.md
- docs/models/shared/pineconedestinationconnectorconfiginput.md
- docs/models/shared/postgresdestinationconnectorconfig.md
Expand All @@ -188,6 +200,7 @@ generatedFiles:
- docs/models/shared/snowflakedestinationconnectorconfiginput.md
- docs/models/shared/snowflakesourceconnectorconfig.md
- docs/models/shared/snowflakesourceconnectorconfiginput.md
- docs/models/shared/sortdirection.md
- docs/models/shared/sourceconnectorinformation.md
- docs/models/shared/sourceconnectorinformationconfig.md
- docs/models/shared/sourceconnectortype.md
Expand Down Expand Up @@ -215,6 +228,7 @@ generatedFiles:
- docs/sdks/destinations/README.md
- docs/sdks/general/README.md
- docs/sdks/jobs/README.md
- docs/sdks/pemkeyauth/README.md
- docs/sdks/sources/README.md
- docs/sdks/unstructuredclient/README.md
- docs/sdks/workflows/README.md
Expand Down Expand Up @@ -251,13 +265,16 @@ generatedFiles:
- src/unstructured_client/models/operations/get_connection_check_sources.py
- src/unstructured_client/models/operations/get_destination.py
- src/unstructured_client/models/operations/get_job.py
- src/unstructured_client/models/operations/get_job_details.py
- src/unstructured_client/models/operations/get_job_failed_files.py
- src/unstructured_client/models/operations/get_source.py
- src/unstructured_client/models/operations/get_workflow.py
- src/unstructured_client/models/operations/list_destinations.py
- src/unstructured_client/models/operations/list_jobs.py
- src/unstructured_client/models/operations/list_sources.py
- src/unstructured_client/models/operations/list_workflows.py
- src/unstructured_client/models/operations/partition.py
- src/unstructured_client/models/operations/retrieve.py
- src/unstructured_client/models/operations/run_workflow.py
- src/unstructured_client/models/operations/update_destination.py
- src/unstructured_client/models/operations/update_source.py
Expand Down Expand Up @@ -296,6 +313,7 @@ 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/failedfile.py
- src/unstructured_client/models/shared/gcsdestinationconnectorconfig.py
- src/unstructured_client/models/shared/gcsdestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/gcssourceconnectorconfig.py
Expand All @@ -306,7 +324,11 @@ generatedFiles:
- src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfiginput.py
- src/unstructured_client/models/shared/jirasourceconnectorconfig.py
- src/unstructured_client/models/shared/jirasourceconnectorconfiginput.py
- src/unstructured_client/models/shared/jobdetails.py
- src/unstructured_client/models/shared/jobfailedfiles.py
- src/unstructured_client/models/shared/jobinformation.py
- src/unstructured_client/models/shared/jobnodedetails.py
- src/unstructured_client/models/shared/jobprocessingstatus.py
- src/unstructured_client/models/shared/jobstatus.py
- src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfig.py
- src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfiginput.py
Expand All @@ -326,6 +348,7 @@ generatedFiles:
- src/unstructured_client/models/shared/outlooksourceconnectorconfig.py
- src/unstructured_client/models/shared/outlooksourceconnectorconfiginput.py
- src/unstructured_client/models/shared/partition_parameters.py
- src/unstructured_client/models/shared/pemauthresponse.py
- src/unstructured_client/models/shared/pineconedestinationconnectorconfig.py
- src/unstructured_client/models/shared/pineconedestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/postgresdestinationconnectorconfig.py
Expand All @@ -349,6 +372,7 @@ generatedFiles:
- src/unstructured_client/models/shared/snowflakedestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/snowflakesourceconnectorconfig.py
- src/unstructured_client/models/shared/snowflakesourceconnectorconfiginput.py
- src/unstructured_client/models/shared/sortdirection.py
- src/unstructured_client/models/shared/sourceconnectorinformation.py
- src/unstructured_client/models/shared/sourceconnectortype.py
- src/unstructured_client/models/shared/updatedestinationconnector.py
Expand All @@ -365,6 +389,7 @@ generatedFiles:
- src/unstructured_client/models/shared/workflowtype.py
- src/unstructured_client/models/shared/zendesksourceconnectorconfig.py
- src/unstructured_client/models/shared/zendesksourceconnectorconfiginput.py
- src/unstructured_client/pemkeyauth.py
- src/unstructured_client/py.typed
- src/unstructured_client/sdk.py
- src/unstructured_client/sdkconfiguration.py
Expand Down Expand Up @@ -594,6 +619,9 @@ examples:
application/json: {"detail": "<value>"}
list_workflows:
speakeasy-default-list-workflows:
parameters:
query:
sort_by: "id"
responses:
"200":
application/json: [{"created_at": "2023-09-02T04:21:23.162Z", "destinations": [], "id": "1e4c63cf-6a6b-407b-b993-b2bc8b3bcefc", "name": "<value>", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["2e12d926-4caf-4cce-8b5c-3e16722c1c84"], "status": "inactive", "workflow_nodes": [{"name": "<value>", "subtype": "<value>", "type": "<value>"}, {"name": "<value>", "subtype": "<value>", "type": "<value>"}]}, {"created_at": "2023-09-02T04:21:23.162Z", "destinations": [], "id": "1e4c63cf-6a6b-407b-b993-b2bc8b3bcefc", "name": "<value>", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["2e12d926-4caf-4cce-8b5c-3e16722c1c84"], "status": "inactive", "workflow_nodes": [{"name": "<value>", "subtype": "<value>", "type": "<value>"}, {"name": "<value>", "subtype": "<value>", "type": "<value>"}]}]
Expand Down Expand Up @@ -633,5 +661,32 @@ examples:
application/json: {"detail": "<value>"}
5XX:
application/json: {"detail": "An error occurred"}
get_job_details:
speakeasy-default-get-job-details:
parameters:
path:
job_id: "14cc95f9-4174-46b3-81f5-7089b87a4787"
responses:
"200":
application/json: {"id": "39a8d74e-66d2-40a4-a9b0-25ee4f08f855", "node_stats": [], "processing_status": "STOPPED"}
"422":
application/json: {"detail": "<value>"}
get_job_failed_files:
speakeasy-default-get-job-failed-files:
parameters:
path:
job_id: "ad262041-3530-40a9-9f83-b004e947a203"
responses:
"200":
application/json: {"failed_files": []}
"422":
application/json: {"detail": "<value>"}
retrieve:
speakeasy-default-retrieve:
responses:
"200":
application/json: {"pem_key": "<value>", "tenant_id": "<id>"}
"422":
application/json: {"detail": "<value>"}
examplesVersion: 1.0.2
generatedTests: {}
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ speakeasyVersion: 1.552.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:7ceb514059ca48d6851ea7eacc84aa4177b0299d9fc01e71a891f6bc6244b089
sourceBlobDigest: sha256:20af3cb02fd412795707dc692fcfdb11f412c27d8095ee4197ea318ea31c7bfe
sourceRevisionDigest: sha256:5330c01ad2b1163448dc9d45529e426f6e4266abf09e07fa918c15315e4a8690
sourceBlobDigest: sha256:9b5bc5130d14803ff180b5a65efc30d93c5d9f6e21ca1642feea7653ba557aed
tags:
- latest
- speakeasy-sdk-regen-1748459387
- 1.1.17
- speakeasy-sdk-regen-1749082267
- 1.1.25
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:7ceb514059ca48d6851ea7eacc84aa4177b0299d9fc01e71a891f6bc6244b089
sourceBlobDigest: sha256:20af3cb02fd412795707dc692fcfdb11f412c27d8095ee4197ea318ea31c7bfe
sourceRevisionDigest: sha256:5330c01ad2b1163448dc9d45529e426f6e4266abf09e07fa918c15315e4a8690
sourceBlobDigest: sha256:9b5bc5130d14803ff180b5a65efc30d93c5d9f6e21ca1642feea7653ba557aed
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:8dd8b645e1112de59bfed16856623f891e44b10d8af11e4f48877b08541e246f
codeSamplesRevisionDigest: sha256:ef79f49f53bb5b656f77daa3852942b3219e3cc8179094b15891af2bba5b3500
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 @@ -1007,4 +1007,14 @@ Based on:
### Generated
- [python v0.36.0] .
### Releases
- [PyPI v0.36.0] https://pypi.org/project/unstructured-client/0.36.0 - .
- [PyPI v0.36.0] https://pypi.org/project/unstructured-client/0.36.0 - .

## 2025-06-20 00:10:52
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.552.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.37.1] .
### Releases
- [PyPI v0.37.1] https://pypi.org/project/unstructured-client/0.37.1 - .
20 changes: 19 additions & 1 deletion codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,30 @@ actions:
- "lang": "python"
"label": "cancel_job"
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.jobs.cancel_job(request={\n \"job_id\": \"2fafd129-04f3-4201-a0e7-fe33e937b367\",\n })\n\n assert res.any is not None\n\n # Handle response\n print(res.any)"
- target: $["paths"]["/api/v1/jobs/{job_id}/details"]["get"]
update:
"x-codeSamples":
- "lang": "python"
"label": "get_job_details"
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.jobs.get_job_details(request={\n \"job_id\": \"14cc95f9-4174-46b3-81f5-7089b87a4787\",\n })\n\n assert res.job_details is not None\n\n # Handle response\n print(res.job_details)"
- target: $["paths"]["/api/v1/jobs/{job_id}/download"]["get"]
update:
"x-codeSamples":
- "lang": "python"
"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\": \"06d1b7b8-8642-4793-b37e-e45d97d53bc3\",\n \"file_id\": \"<id>\",\n \"node_id\": \"7c8f2aa4-da13-4a04-a98d-0204ea55681e\",\n })\n\n assert res.any is not None\n\n # Handle response\n print(res.any)"
- target: $["paths"]["/api/v1/jobs/{job_id}/failed-files"]["get"]
update:
"x-codeSamples":
- "lang": "python"
"label": "get_job_failed_files"
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.jobs.get_job_failed_files(request={\n \"job_id\": \"ad262041-3530-40a9-9f83-b004e947a203\",\n })\n\n assert res.job_failed_files is not None\n\n # Handle response\n print(res.job_failed_files)"
- target: $["paths"]["/api/v1/pemkeyauth/retrieve"]["post"]
update:
"x-codeSamples":
- "lang": "python"
"label": "retrieve"
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.pemkeyauth.retrieve(request={})\n\n assert res.pem_auth_response is not None\n\n # Handle response\n print(res.pem_auth_response)"
- target: $["paths"]["/api/v1/sources/"]["get"]
update:
"x-codeSamples":
Expand All @@ -80,7 +98,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.DATABRICKS_VOLUMES,\n \"config\": {\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)"
"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 \"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)"
- target: $["paths"]["/api/v1/sources/{source_id}"]["delete"]
update:
"x-codeSamples":
Expand Down
9 changes: 9 additions & 0 deletions docs/models/operations/getjobdetailsrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# GetJobDetailsRequest


## Fields

| Field | Type | Required | Description |
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| `job_id` | *str* | :heavy_check_mark: | N/A |
| `unstructured_api_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
11 changes: 11 additions & 0 deletions docs/models/operations/getjobdetailsresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# GetJobDetailsResponse


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- |
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
| `job_details` | [Optional[shared.JobDetails]](../../models/shared/jobdetails.md) | :heavy_minus_sign: | Successful Response |
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [httpx.Response](https://www.python-httpx.org/api/#response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
9 changes: 9 additions & 0 deletions docs/models/operations/getjobfailedfilesrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# GetJobFailedFilesRequest


## Fields

| Field | Type | Required | Description |
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| `job_id` | *str* | :heavy_check_mark: | N/A |
| `unstructured_api_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
Loading