Skip to content

Commit a557b24

Browse files
committed
## Python SDK Changes:
* `unstructured_client.destinations.create_connection_check_destinations()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.destinations.create_destination()`: * `request` **Changed** **Breaking** ⚠️ * `response.config` **Changed** * `unstructured_client.destinations.delete_destination()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.destinations.get_connection_check_destinations()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.destinations.get_destination()`: * `request.security` **Added** **Breaking** ⚠️ * `response.config` **Changed** * `unstructured_client.destinations.list_destinations()`: * `request` **Changed** **Breaking** ⚠️ * `response.[].config` **Changed** * `unstructured_client.destinations.update_destination()`: * `request` **Changed** **Breaking** ⚠️ * `response.config` **Changed** * `unstructured_client.jobs.cancel_job()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.jobs.download_job_output()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.jobs.get_job()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.jobs.get_job_details()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.jobs.get_job_failed_files()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.jobs.list_jobs()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.sources.create_connection_check_sources()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.sources.create_source()`: * `request` **Changed** **Breaking** ⚠️ * `response.config.[snowflake_source_connector_config].schema` **Changed** * `unstructured_client.sources.delete_source()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.sources.get_connection_check_sources()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.sources.get_source()`: * `request.security` **Added** **Breaking** ⚠️ * `response.config.[snowflake_source_connector_config].schema` **Changed** * `unstructured_client.sources.list_sources()`: * `request.security` **Added** **Breaking** ⚠️ * `response.[].config.[snowflake_source_connector_config].schema` **Changed** * `unstructured_client.sources.update_source()`: * `request` **Changed** **Breaking** ⚠️ * `response.config.[snowflake_source_connector_config].schema` **Changed** * `unstructured_client.workflows.create_workflow()`: * `request` **Changed** **Breaking** ⚠️ * `response.reprocess_all` **Changed** **Breaking** ⚠️ * `unstructured_client.workflows.delete_workflow()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.workflows.get_workflow()`: * `request.security` **Added** **Breaking** ⚠️ * `response.reprocess_all` **Changed** **Breaking** ⚠️ * `unstructured_client.workflows.list_workflows()`: * `request.security` **Added** **Breaking** ⚠️ * `response.[].reprocess_all` **Changed** **Breaking** ⚠️ * `unstructured_client.workflows.run_workflow()`: `request.security` **Added** **Breaking** ⚠️ * `unstructured_client.workflows.update_workflow()`: * `request` **Changed** **Breaking** ⚠️ * `response.reprocess_all` **Changed** **Breaking** ⚠️ * `unstructured_client.general.partition()`: * `request.partition_parameters` **Changed** **Breaking** ⚠️
1 parent 16a78c9 commit a557b24

File tree

105 files changed

+1910
-482
lines changed

Some content is hidden

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

105 files changed

+1910
-482
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.env.local
12
**/__pycache__/
23
**/.speakeasy/temp/
34
**/.speakeasy/logs/

.speakeasy/gen.lock

Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 8b5fa338-9106-4734-abf0-e30d67044a90
33
management:
4-
docChecksum: 8038a5b9e376d44bad2fd4c117922954
5-
docVersion: 1.1.45
4+
docChecksum: c8c210910bf0bebae8e1e64e7d121336
5+
docVersion: 1.2.10
66
speakeasyVersion: 1.601.0
77
generationVersion: 2.680.0
8-
releaseVersion: 0.42.3
9-
configChecksum: 3d02dd7ca437781b3d721fab5d7b9adc
8+
releaseVersion: 0.42.5
9+
configChecksum: e72e3799a7fd8a5962c51cda621b37e4
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -26,6 +26,7 @@ features:
2626
globalSecurityCallbacks: 1.0.0
2727
globalSecurityFlattening: 1.0.0
2828
globalServerURLs: 3.1.1
29+
methodSecurity: 3.0.1
2930
multipartFileContentType: 1.0.0
3031
nameOverrides: 3.0.1
3132
nullables: 1.0.1
@@ -45,62 +46,90 @@ generatedFiles:
4546
- docs/models/errors/servererror.md
4647
- docs/models/operations/canceljobrequest.md
4748
- docs/models/operations/canceljobresponse.md
49+
- docs/models/operations/canceljobsecurity.md
4850
- docs/models/operations/createconnectioncheckdestinationsrequest.md
4951
- docs/models/operations/createconnectioncheckdestinationsresponse.md
52+
- docs/models/operations/createconnectioncheckdestinationssecurity.md
5053
- docs/models/operations/createconnectionchecksourcesrequest.md
5154
- docs/models/operations/createconnectionchecksourcesresponse.md
55+
- docs/models/operations/createconnectionchecksourcessecurity.md
5256
- docs/models/operations/createdestinationrequest.md
5357
- docs/models/operations/createdestinationresponse.md
58+
- docs/models/operations/createdestinationsecurity.md
5459
- docs/models/operations/createsourcerequest.md
5560
- docs/models/operations/createsourceresponse.md
61+
- docs/models/operations/createsourcesecurity.md
5662
- docs/models/operations/createworkflowrequest.md
5763
- docs/models/operations/createworkflowresponse.md
64+
- docs/models/operations/createworkflowsecurity.md
5865
- docs/models/operations/deletedestinationrequest.md
5966
- docs/models/operations/deletedestinationresponse.md
67+
- docs/models/operations/deletedestinationsecurity.md
6068
- docs/models/operations/deletesourcerequest.md
6169
- docs/models/operations/deletesourceresponse.md
70+
- docs/models/operations/deletesourcesecurity.md
6271
- docs/models/operations/deleteworkflowrequest.md
6372
- docs/models/operations/deleteworkflowresponse.md
73+
- docs/models/operations/deleteworkflowsecurity.md
6474
- docs/models/operations/downloadjoboutputrequest.md
6575
- docs/models/operations/downloadjoboutputresponse.md
76+
- docs/models/operations/downloadjoboutputsecurity.md
6677
- docs/models/operations/getconnectioncheckdestinationsrequest.md
6778
- docs/models/operations/getconnectioncheckdestinationsresponse.md
79+
- docs/models/operations/getconnectioncheckdestinationssecurity.md
6880
- docs/models/operations/getconnectionchecksourcesrequest.md
6981
- docs/models/operations/getconnectionchecksourcesresponse.md
82+
- docs/models/operations/getconnectionchecksourcessecurity.md
7083
- docs/models/operations/getdestinationrequest.md
7184
- docs/models/operations/getdestinationresponse.md
85+
- docs/models/operations/getdestinationsecurity.md
7286
- docs/models/operations/getjobdetailsrequest.md
7387
- docs/models/operations/getjobdetailsresponse.md
88+
- docs/models/operations/getjobdetailssecurity.md
7489
- docs/models/operations/getjobfailedfilesrequest.md
7590
- docs/models/operations/getjobfailedfilesresponse.md
91+
- docs/models/operations/getjobfailedfilessecurity.md
7692
- docs/models/operations/getjobrequest.md
7793
- docs/models/operations/getjobresponse.md
94+
- docs/models/operations/getjobsecurity.md
7895
- docs/models/operations/getsourcerequest.md
7996
- docs/models/operations/getsourceresponse.md
97+
- docs/models/operations/getsourcesecurity.md
8098
- docs/models/operations/getworkflowrequest.md
8199
- docs/models/operations/getworkflowresponse.md
100+
- docs/models/operations/getworkflowsecurity.md
82101
- docs/models/operations/listdestinationsrequest.md
83102
- docs/models/operations/listdestinationsresponse.md
103+
- docs/models/operations/listdestinationssecurity.md
84104
- docs/models/operations/listjobsrequest.md
85105
- docs/models/operations/listjobsresponse.md
106+
- docs/models/operations/listjobssecurity.md
86107
- docs/models/operations/listsourcesrequest.md
87108
- docs/models/operations/listsourcesresponse.md
109+
- docs/models/operations/listsourcessecurity.md
88110
- docs/models/operations/listworkflowsrequest.md
89111
- docs/models/operations/listworkflowsresponse.md
112+
- docs/models/operations/listworkflowssecurity.md
90113
- docs/models/operations/partitionrequest.md
91114
- docs/models/operations/partitionresponse.md
92115
- docs/models/operations/runworkflowrequest.md
93116
- docs/models/operations/runworkflowresponse.md
117+
- docs/models/operations/runworkflowsecurity.md
94118
- docs/models/operations/updatedestinationrequest.md
95119
- docs/models/operations/updatedestinationresponse.md
120+
- docs/models/operations/updatedestinationsecurity.md
96121
- docs/models/operations/updatesourcerequest.md
97122
- docs/models/operations/updatesourceresponse.md
123+
- docs/models/operations/updatesourcesecurity.md
98124
- docs/models/operations/updateworkflowrequest.md
99125
- docs/models/operations/updateworkflowresponse.md
126+
- docs/models/operations/updateworkflowsecurity.md
100127
- docs/models/shared/astradbconnectorconfig.md
101128
- docs/models/shared/astradbconnectorconfiginput.md
102129
- docs/models/shared/azureaisearchconnectorconfig.md
103130
- docs/models/shared/azureaisearchconnectorconfiginput.md
131+
- docs/models/shared/azuredestinationconnectorconfig.md
132+
- docs/models/shared/azuredestinationconnectorconfiginput.md
104133
- docs/models/shared/azuresourceconnectorconfig.md
105134
- docs/models/shared/azuresourceconnectorconfiginput.md
106135
- docs/models/shared/bodyrunworkflow.md
@@ -212,7 +241,6 @@ generatedFiles:
212241
- docs/models/shared/updateworkflow.md
213242
- docs/models/shared/updateworkflowschedule.md
214243
- docs/models/shared/validationerror.md
215-
- docs/models/shared/vlmmodel.md
216244
- docs/models/shared/vlmmodelprovider.md
217245
- docs/models/shared/weaviatedestinationconnectorconfig.md
218246
- docs/models/shared/weaviatedestinationconnectorconfiginput.md
@@ -287,6 +315,8 @@ generatedFiles:
287315
- src/unstructured_client/models/shared/astradbconnectorconfiginput.py
288316
- src/unstructured_client/models/shared/azureaisearchconnectorconfig.py
289317
- src/unstructured_client/models/shared/azureaisearchconnectorconfiginput.py
318+
- src/unstructured_client/models/shared/azuredestinationconnectorconfig.py
319+
- src/unstructured_client/models/shared/azuredestinationconnectorconfiginput.py
290320
- src/unstructured_client/models/shared/azuresourceconnectorconfig.py
291321
- src/unstructured_client/models/shared/azuresourceconnectorconfiginput.py
292322
- src/unstructured_client/models/shared/body_run_workflow.py
@@ -600,7 +630,7 @@ examples:
600630
application/json: {"name": "<value>", "workflow_type": "advanced"}
601631
responses:
602632
"200":
603-
application/json: {"created_at": "2023-01-15T13:52:58.634Z", "destinations": [], "id": "80c8c72f-101a-4a39-974b-49aa299e80d3", "name": "<value>", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["47678eb0-4958-4341-ad66-b1b822c1deb9"], "status": "active", "workflow_nodes": [{"name": "<value>", "subtype": "<value>", "type": "<value>"}, {"name": "<value>", "subtype": "<value>", "type": "<value>"}]}
633+
application/json: {"created_at": "2023-01-15T13:52:58.634Z", "destinations": [], "id": "80c8c72f-101a-4a39-974b-49aa299e80d3", "name": "<value>", "reprocess_all": false, "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["47678eb0-4958-4341-ad66-b1b822c1deb9"], "status": "active", "workflow_nodes": [{"name": "<value>", "subtype": "<value>", "type": "<value>"}, {"name": "<value>", "subtype": "<value>", "type": "<value>"}]}
604634
"422":
605635
application/json: {"detail": "<value>"}
606636
delete_workflow:
@@ -620,7 +650,7 @@ examples:
620650
workflow_id: "d031b0e5-7ca7-4a2b-b3cc-d869d2df3e76"
621651
responses:
622652
"200":
623-
application/json: {"created_at": "2024-01-22T17:42:53.375Z", "destinations": ["624abbf1-dbce-4fe0-8d3f-0673956fc10e"], "id": "840c33c3-f30c-4908-9688-2682ed8eea3f", "name": "<value>", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["349ed27a-eeda-4851-866a-8ce3a65a2957", "9aa34544-3278-446f-a265-efcaa55f9c4a"], "status": "active", "workflow_nodes": [{"name": "<value>", "subtype": "<value>", "type": "<value>"}, {"name": "<value>", "subtype": "<value>", "type": "<value>"}]}
653+
application/json: {"created_at": "2024-01-22T17:42:53.375Z", "destinations": ["624abbf1-dbce-4fe0-8d3f-0673956fc10e"], "id": "840c33c3-f30c-4908-9688-2682ed8eea3f", "name": "<value>", "reprocess_all": false, "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["349ed27a-eeda-4851-866a-8ce3a65a2957", "9aa34544-3278-446f-a265-efcaa55f9c4a"], "status": "active", "workflow_nodes": [{"name": "<value>", "subtype": "<value>", "type": "<value>"}, {"name": "<value>", "subtype": "<value>", "type": "<value>"}]}
624654
"422":
625655
application/json: {"detail": "<value>"}
626656
list_workflows:
@@ -630,7 +660,7 @@ examples:
630660
sort_by: "id"
631661
responses:
632662
"200":
633-
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>"}]}]
663+
application/json: [{"created_at": "2023-09-02T04:21:23.162Z", "destinations": [], "id": "1e4c63cf-6a6b-407b-b993-b2bc8b3bcefc", "name": "<value>", "reprocess_all": false, "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>", "reprocess_all": false, "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>"}]}]
634664
"422":
635665
application/json: {"detail": [{"loc": ["<value>", 864403], "msg": "<value>", "type": "<value>"}]}
636666
run_workflow:
@@ -652,13 +682,13 @@ examples:
652682
application/json: {}
653683
responses:
654684
"200":
655-
application/json: {"created_at": "2025-01-11T03:06:48.390Z", "destinations": [], "id": "88fd9cfe-ed29-4701-9d1f-8f26d4ea88d3", "name": "<value>", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["0957eb7f-57d3-4705-bc49-03de6ad3794d", "a8b88099-9065-4458-a824-b37da7a9bccf", "a024c482-10ba-433a-9100-e6471e9d3db0"], "status": "active", "workflow_nodes": [{"name": "<value>", "subtype": "<value>", "type": "<value>"}]}
685+
application/json: {"created_at": "2025-01-11T03:06:48.390Z", "destinations": [], "id": "88fd9cfe-ed29-4701-9d1f-8f26d4ea88d3", "name": "<value>", "reprocess_all": false, "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["0957eb7f-57d3-4705-bc49-03de6ad3794d", "a8b88099-9065-4458-a824-b37da7a9bccf", "a024c482-10ba-433a-9100-e6471e9d3db0"], "status": "active", "workflow_nodes": [{"name": "<value>", "subtype": "<value>", "type": "<value>"}]}
656686
"422":
657687
application/json: {"detail": "<value>"}
658688
partition:
659689
speakeasy-default-partition:
660690
requestBody:
661-
multipart/form-data: {"chunking_strategy": "by_title", "combine_under_n_chars": null, "content_type": null, "coordinates": false, "encoding": null, "files": {"": "{\"summary\":\"File to be partitioned\",\"externalValue\":\"https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf\"}"}, "gz_uncompressed_content_type": null, "hi_res_model_name": null, "include_orig_elements": null, "include_page_breaks": false, "include_slide_notes": true, "max_characters": null, "multipage_sections": true, "new_after_n_chars": null, "output_format": "application/json", "overlap": 0, "overlap_all": false, "pdf_infer_table_structure": true, "pdfminer_char_margin": null, "pdfminer_line_margin": null, "pdfminer_line_overlap": null, "pdfminer_word_margin": null, "similarity_threshold": null, "split_pdf_allow_failed": false, "split_pdf_cache_tmp_data": false, "split_pdf_cache_tmp_data_dir": "<value>", "split_pdf_concurrency_level": 5, "split_pdf_page": true, "split_pdf_page_range": [1, 10], "starting_page_number": null, "strategy": "auto", "table_ocr_agent": null, "unique_element_ids": false, "vlm_model": "gpt-4o", "vlm_model_provider": "openai", "xml_keep_tags": false}
691+
multipart/form-data: {"chunking_strategy": "by_title", "combine_under_n_chars": null, "content_type": null, "coordinates": false, "do_not_break_similarity_on_footer_header": false, "encoding": null, "files": {"": "{\"summary\":\"File to be partitioned\",\"externalValue\":\"https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf\"}"}, "gz_uncompressed_content_type": null, "hi_res_model_name": null, "include_orig_elements": null, "include_page_breaks": false, "include_slide_notes": true, "max_characters": null, "multipage_sections": true, "new_after_n_chars": null, "output_format": "application/json", "overlap": 0, "overlap_all": false, "pdf_infer_table_structure": true, "pdfminer_char_margin": null, "pdfminer_line_margin": null, "pdfminer_line_overlap": null, "pdfminer_word_margin": null, "similarity_threshold": null, "split_pdf_allow_failed": false, "split_pdf_cache_tmp_data": false, "split_pdf_cache_tmp_data_dir": "<value>", "split_pdf_concurrency_level": 5, "split_pdf_page": true, "split_pdf_page_range": [1, 10], "starting_page_number": null, "strategy": "auto", "table_ocr_agent": null, "unique_element_ids": false, "vlm_model": "gpt-4o", "vlm_model_provider": "openai", "xml_keep_tags": false}
662692
responses:
663693
"200":
664694
application/json: [{"type": "Title", "element_id": "6aa0ff22f91bbe7e26e8e25ca8052acd", "text": "LayoutParser: A Unified Toolkit for Deep Learning Based Document Image Analysis", "metadata": {"languages": ["eng"], "page_number": 1, "filename": "layout-parser-paper.pdf", "filetype": "application/pdf"}}]

.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:8165f715321cd34bcebb6c9bb0734a1791777229937787b8e13707d519b05a5e
6-
sourceBlobDigest: sha256:b4f8d9a6b0f4245c50b5e53298343df470978417248fa3988aeeb84ec9200c93
5+
sourceRevisionDigest: sha256:a6d50eb1f6362f7d1c6e8120cc83b8c1a75cce4b9010fadeb5329c43f53a7e7d
6+
sourceBlobDigest: sha256:54c86d0894c52e6c716516efe7b2053c1d3323deb9e0718a64507aef1e71c59e
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1754698272
10-
- 1.1.45
9+
- speakeasy-sdk-regen-1764115859
10+
- 1.2.10
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:8165f715321cd34bcebb6c9bb0734a1791777229937787b8e13707d519b05a5e
16-
sourceBlobDigest: sha256:b4f8d9a6b0f4245c50b5e53298343df470978417248fa3988aeeb84ec9200c93
15+
sourceRevisionDigest: sha256:a6d50eb1f6362f7d1c6e8120cc83b8c1a75cce4b9010fadeb5329c43f53a7e7d
16+
sourceBlobDigest: sha256:54c86d0894c52e6c716516efe7b2053c1d3323deb9e0718a64507aef1e71c59e
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:a5e11972bfb15e43b7fcb2647b3a7b3e129e9303294f9110670280971b10780a
18+
codeSamplesRevisionDigest: sha256:0dc6c19b8b45c0acba32fc0ccac4343371724c8ca023cb4eb1804206426a3112
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

0 commit comments

Comments
 (0)