Skip to content

Commit 404b73f

Browse files
Merge branch 'main' into NEXUS-817/add-tests-for-retry-on-5xx
2 parents 99e8c58 + 13adfc8 commit 404b73f

File tree

155 files changed

+2262
-359
lines changed

Some content is hidden

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

155 files changed

+2262
-359
lines changed

Diff for: .speakeasy/gen.lock

+67-13
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: 761bdf240b7e572d6a866cee2c950c70
5-
docVersion: 1.0.78
6-
speakeasyVersion: 1.513.0
7-
generationVersion: 2.545.1
8-
releaseVersion: 0.31.1
9-
configChecksum: 569b9e45b4960f94a43454c345d9b38c
4+
docChecksum: f5acf2abe837ecf85e4549af6c864e95
5+
docVersion: 1.1.4
6+
speakeasyVersion: 1.528.1
7+
generationVersion: 2.565.1
8+
releaseVersion: 0.32.1
9+
configChecksum: 0ee63f2ec67ee05b651d54a09c7c935e
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -16,7 +16,7 @@ features:
1616
acceptHeaders: 3.0.0
1717
additionalDependencies: 1.0.0
1818
constsAndDefaults: 1.0.5
19-
core: 5.12.2
19+
core: 5.12.5
2020
defaultEnabledRetries: 0.2.0
2121
enumUnions: 0.1.0
2222
envVarSecurityUsage: 0.3.2
@@ -29,7 +29,7 @@ features:
2929
multipartFileContentType: 1.0.0
3030
nameOverrides: 3.0.1
3131
nullables: 1.0.1
32-
openEnums: 1.0.0
32+
openEnums: 1.0.1
3333
responseFormat: 1.0.1
3434
retries: 3.0.2
3535
sdkHooks: 1.0.1
@@ -58,6 +58,8 @@ generatedFiles:
5858
- docs/models/operations/deletesourceresponse.md
5959
- docs/models/operations/deleteworkflowrequest.md
6060
- docs/models/operations/deleteworkflowresponse.md
61+
- docs/models/operations/downloadjoboutputrequest.md
62+
- docs/models/operations/downloadjoboutputresponse.md
6163
- docs/models/operations/getdestinationrequest.md
6264
- docs/models/operations/getdestinationresponse.md
6365
- docs/models/operations/getjobrequest.md
@@ -88,8 +90,11 @@ generatedFiles:
8890
- docs/models/shared/astradbconnectorconfiginput.md
8991
- docs/models/shared/azureaisearchconnectorconfig.md
9092
- docs/models/shared/azureaisearchconnectorconfiginput.md
93+
- docs/models/shared/azuredestinationconnectorconfig.md
94+
- docs/models/shared/azuredestinationconnectorconfiginput.md
9195
- docs/models/shared/azuresourceconnectorconfig.md
9296
- docs/models/shared/azuresourceconnectorconfiginput.md
97+
- docs/models/shared/bodyrunworkflow.md
9398
- docs/models/shared/boxsourceconnectorconfig.md
9499
- docs/models/shared/boxsourceconnectorconfiginput.md
95100
- docs/models/shared/config.md
@@ -124,6 +129,9 @@ generatedFiles:
124129
- docs/models/shared/gcssourceconnectorconfiginput.md
125130
- docs/models/shared/googledrivesourceconnectorconfig.md
126131
- docs/models/shared/googledrivesourceconnectorconfiginput.md
132+
- docs/models/shared/inputfiles.md
133+
- docs/models/shared/jirasourceconnectorconfig.md
134+
- docs/models/shared/jirasourceconnectorconfiginput.md
127135
- docs/models/shared/jobinformation.md
128136
- docs/models/shared/jobstatus.md
129137
- docs/models/shared/kafkaclouddestinationconnectorconfig.md
@@ -137,6 +145,7 @@ generatedFiles:
137145
- docs/models/shared/mongodbconnectorconfiginput.md
138146
- docs/models/shared/neo4jdestinationconnectorconfig.md
139147
- docs/models/shared/neo4jdestinationconnectorconfiginput.md
148+
- docs/models/shared/nodefilemetadata.md
140149
- docs/models/shared/onedrivedestinationconnectorconfig.md
141150
- docs/models/shared/onedrivedestinationconnectorconfiginput.md
142151
- docs/models/shared/onedrivesourceconnectorconfig.md
@@ -145,10 +154,12 @@ generatedFiles:
145154
- docs/models/shared/outlooksourceconnectorconfiginput.md
146155
- docs/models/shared/outputformat.md
147156
- docs/models/shared/partitionparameters.md
148-
- docs/models/shared/partitionparametersschemasstrategy.md
149-
- docs/models/shared/partitionparametersstrategy.md
157+
- docs/models/shared/pineconedestinationconnectorconfig.md
158+
- docs/models/shared/pineconedestinationconnectorconfiginput.md
150159
- docs/models/shared/postgresdestinationconnectorconfig.md
151160
- docs/models/shared/postgresdestinationconnectorconfiginput.md
161+
- docs/models/shared/postgressourceconnectorconfig.md
162+
- docs/models/shared/postgressourceconnectorconfiginput.md
152163
- docs/models/shared/qdrantclouddestinationconnectorconfig.md
153164
- docs/models/shared/qdrantclouddestinationconnectorconfiginput.md
154165
- docs/models/shared/redisdestinationconnectorconfig.md
@@ -178,6 +189,8 @@ generatedFiles:
178189
- docs/models/shared/updateworkflow.md
179190
- docs/models/shared/updateworkflowschedule.md
180191
- docs/models/shared/validationerror.md
192+
- docs/models/shared/vlmmodel.md
193+
- docs/models/shared/vlmmodelprovider.md
181194
- docs/models/shared/weaviatedestinationconnectorconfig.md
182195
- docs/models/shared/weaviatedestinationconnectorconfiginput.md
183196
- docs/models/shared/workflowinformation.md
@@ -186,6 +199,8 @@ generatedFiles:
186199
- docs/models/shared/workflowschedule.md
187200
- docs/models/shared/workflowstate.md
188201
- docs/models/shared/workflowtype.md
202+
- docs/models/shared/zendesksourceconnectorconfig.md
203+
- docs/models/shared/zendesksourceconnectorconfiginput.md
189204
- docs/models/utils/retryconfig.md
190205
- docs/sdks/destinations/README.md
191206
- docs/sdks/general/README.md
@@ -221,6 +236,7 @@ generatedFiles:
221236
- src/unstructured_client/models/operations/delete_destination.py
222237
- src/unstructured_client/models/operations/delete_source.py
223238
- src/unstructured_client/models/operations/delete_workflow.py
239+
- src/unstructured_client/models/operations/download_job_output.py
224240
- src/unstructured_client/models/operations/get_destination.py
225241
- src/unstructured_client/models/operations/get_job.py
226242
- src/unstructured_client/models/operations/get_source.py
@@ -239,8 +255,11 @@ generatedFiles:
239255
- src/unstructured_client/models/shared/astradbconnectorconfiginput.py
240256
- src/unstructured_client/models/shared/azureaisearchconnectorconfig.py
241257
- src/unstructured_client/models/shared/azureaisearchconnectorconfiginput.py
258+
- src/unstructured_client/models/shared/azuredestinationconnectorconfig.py
259+
- src/unstructured_client/models/shared/azuredestinationconnectorconfiginput.py
242260
- src/unstructured_client/models/shared/azuresourceconnectorconfig.py
243261
- src/unstructured_client/models/shared/azuresourceconnectorconfiginput.py
262+
- src/unstructured_client/models/shared/body_run_workflow.py
244263
- src/unstructured_client/models/shared/boxsourceconnectorconfig.py
245264
- src/unstructured_client/models/shared/boxsourceconnectorconfiginput.py
246265
- src/unstructured_client/models/shared/confluencesourceconnectorconfig.py
@@ -271,6 +290,8 @@ generatedFiles:
271290
- src/unstructured_client/models/shared/gcssourceconnectorconfiginput.py
272291
- src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py
273292
- src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py
293+
- src/unstructured_client/models/shared/jirasourceconnectorconfig.py
294+
- src/unstructured_client/models/shared/jirasourceconnectorconfiginput.py
274295
- src/unstructured_client/models/shared/jobinformation.py
275296
- src/unstructured_client/models/shared/jobstatus.py
276297
- src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfig.py
@@ -283,15 +304,20 @@ generatedFiles:
283304
- src/unstructured_client/models/shared/mongodbconnectorconfiginput.py
284305
- src/unstructured_client/models/shared/neo4jdestinationconnectorconfig.py
285306
- src/unstructured_client/models/shared/neo4jdestinationconnectorconfiginput.py
307+
- src/unstructured_client/models/shared/nodefilemetadata.py
286308
- src/unstructured_client/models/shared/onedrivedestinationconnectorconfig.py
287309
- src/unstructured_client/models/shared/onedrivedestinationconnectorconfiginput.py
288310
- src/unstructured_client/models/shared/onedrivesourceconnectorconfig.py
289311
- src/unstructured_client/models/shared/onedrivesourceconnectorconfiginput.py
290312
- src/unstructured_client/models/shared/outlooksourceconnectorconfig.py
291313
- src/unstructured_client/models/shared/outlooksourceconnectorconfiginput.py
292314
- src/unstructured_client/models/shared/partition_parameters.py
315+
- src/unstructured_client/models/shared/pineconedestinationconnectorconfig.py
316+
- src/unstructured_client/models/shared/pineconedestinationconnectorconfiginput.py
293317
- src/unstructured_client/models/shared/postgresdestinationconnectorconfig.py
294318
- src/unstructured_client/models/shared/postgresdestinationconnectorconfiginput.py
319+
- src/unstructured_client/models/shared/postgressourceconnectorconfig.py
320+
- src/unstructured_client/models/shared/postgressourceconnectorconfiginput.py
295321
- src/unstructured_client/models/shared/qdrantclouddestinationconnectorconfig.py
296322
- src/unstructured_client/models/shared/qdrantclouddestinationconnectorconfiginput.py
297323
- src/unstructured_client/models/shared/redisdestinationconnectorconfig.py
@@ -323,6 +349,8 @@ generatedFiles:
323349
- src/unstructured_client/models/shared/workflowschedule.py
324350
- src/unstructured_client/models/shared/workflowstate.py
325351
- src/unstructured_client/models/shared/workflowtype.py
352+
- src/unstructured_client/models/shared/zendesksourceconnectorconfig.py
353+
- src/unstructured_client/models/shared/zendesksourceconnectorconfiginput.py
326354
- src/unstructured_client/py.typed
327355
- src/unstructured_client/sdk.py
328356
- src/unstructured_client/sdkconfiguration.py
@@ -374,7 +402,7 @@ examples:
374402
header: {}
375403
responses:
376404
"200":
377-
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"}
405+
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"}
378406
"422":
379407
application/json: {"detail": []}
380408
list_destinations:
@@ -525,7 +553,7 @@ examples:
525553
"202":
526554
application/json: {"created_at": "2024-08-04T10:06:22.481Z", "id": "6c4f327c-7ca2-4933-a68d-2ebe9d9f1445", "runtime": "<value>", "status": "COMPLETED", "workflow_id": "b67be6d9-8e94-40c8-afd7-21e5d2d00363", "workflow_name": "<value>"}
527555
"422":
528-
application/json: {"detail": [{"loc": ["<value>", 233068, "<value>"], "msg": "<value>", "type": "<value>"}]}
556+
application/json: {"detail": [{"loc": ["<value>"], "msg": "<value>", "type": "<value>"}, {"loc": [397022, 604524], "msg": "<value>", "type": "<value>"}]}
529557
update_workflow:
530558
speakeasy-default-update-workflow:
531559
parameters:
@@ -542,7 +570,7 @@ examples:
542570
partition:
543571
speakeasy-default-partition:
544572
requestBody:
545-
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, "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": "vlm", "table_ocr_agent": null, "unique_element_ids": false, "vlm_model": "gpt-4o", "vlm_model_provider": "openai", "xml_keep_tags": false}
573+
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": "vlm", "table_ocr_agent": null, "unique_element_ids": false, "vlm_model": "gpt-4o", "vlm_model_provider": "openai", "xml_keep_tags": false}
546574
responses:
547575
"200":
548576
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"}}]
@@ -551,5 +579,31 @@ examples:
551579
application/json: {"detail": []}
552580
5XX:
553581
application/json: {"detail": "An error occurred"}
582+
download_playground_job:
583+
speakeasy-default-download-playground-job:
584+
parameters:
585+
path:
586+
job_id: "844a9b13-d032-43c7-8e81-b20a874c4c79"
587+
query:
588+
file_id: "<id>"
589+
header: {}
590+
responses:
591+
"200":
592+
application/json: "<value>"
593+
"422":
594+
application/json: {"detail": "<value>"}
595+
download_job_output:
596+
speakeasy-default-download-job-output:
597+
parameters:
598+
path:
599+
job_id: "bddbb621-2124-4cc2-9fa7-c6cdc21dac44"
600+
query:
601+
file_id: "<id>"
602+
header: {}
603+
responses:
604+
"200":
605+
application/json: "<value>"
606+
"422":
607+
application/json: {"detail": "<value>"}
554608
examplesVersion: 1.0.0
555609
generatedTests: {}

Diff for: .speakeasy/workflow.lock

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.513.0
1+
speakeasyVersion: 1.528.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:284396f88ac6b8f00fc6b64e117310094af9403c775d96d0273f2dc91e20a99d
6-
sourceBlobDigest: sha256:eeff76b4ac663079622a4957d5023f06ca2a8ad423075a125478ad3b57aeb4ef
5+
sourceRevisionDigest: sha256:3ef2e923ab2125c8a01080f5bdd566de7d8321ce4dd55741d5f73cefcd607c92
6+
sourceBlobDigest: sha256:456351471925fa73f1e21cd9cf562192b638407448b3eebb995af1412def0801
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1741292249
10-
- 1.0.78
9+
- speakeasy-sdk-regen-1743639002
10+
- 1.1.4
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:284396f88ac6b8f00fc6b64e117310094af9403c775d96d0273f2dc91e20a99d
16-
sourceBlobDigest: sha256:eeff76b4ac663079622a4957d5023f06ca2a8ad423075a125478ad3b57aeb4ef
15+
sourceRevisionDigest: sha256:3ef2e923ab2125c8a01080f5bdd566de7d8321ce4dd55741d5f73cefcd607c92
16+
sourceBlobDigest: sha256:456351471925fa73f1e21cd9cf562192b638407448b3eebb995af1412def0801
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:19241c5759df66896762918163ed4cbb6be089a165082e64717f088fb50320c1
18+
codeSamplesRevisionDigest: sha256:fd9f7b1049617cfcfdd5f458b9291bc702426e0e8c17d4f39d6ce488857a06d4
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,8 @@ with UnstructuredClient() as uc_client:
469469
1,
470470
10,
471471
],
472-
"vlm_model": shared.PartitionParametersStrategy.GPT_4O,
473-
"vlm_model_provider": shared.PartitionParametersSchemasStrategy.OPENAI,
472+
"vlm_model": shared.VLMModel.GPT_4O,
473+
"vlm_model_provider": shared.VLMModelProvider.OPENAI,
474474
},
475475
})
476476

Diff for: RELEASES.md

+71-1
Original file line numberDiff line numberDiff line change
@@ -855,4 +855,74 @@ Based on:
855855
### Generated
856856
- [python v0.31.1] .
857857
### Releases
858-
- [PyPI v0.31.1] https://pypi.org/project/unstructured-client/0.31.1 - .
858+
- [PyPI v0.31.1] https://pypi.org/project/unstructured-client/0.31.1 - .
859+
860+
## 2025-03-20 00:09:37
861+
### Changes
862+
Based on:
863+
- OpenAPI Doc
864+
- Speakeasy CLI 1.521.0 (2.558.2) https://github.com/speakeasy-api/speakeasy
865+
### Generated
866+
- [python v0.31.2] .
867+
### Releases
868+
- [PyPI v0.31.2] https://pypi.org/project/unstructured-client/0.31.2 - .
869+
870+
## 2025-03-20 22:25:29
871+
### Changes
872+
Based on:
873+
- OpenAPI Doc
874+
- Speakeasy CLI 1.521.1 (2.558.5) https://github.com/speakeasy-api/speakeasy
875+
### Generated
876+
- [python v0.31.3] .
877+
### Releases
878+
- [PyPI v0.31.3] https://pypi.org/project/unstructured-client/0.31.3 - .
879+
880+
## 2025-03-26 17:03:10
881+
### Changes
882+
Based on:
883+
- OpenAPI Doc
884+
- Speakeasy CLI 1.523.2 (2.560.1) https://github.com/speakeasy-api/speakeasy
885+
### Generated
886+
- [python v0.31.4] .
887+
### Releases
888+
- [PyPI v0.31.4] https://pypi.org/project/unstructured-client/0.31.4 - .
889+
890+
## 2025-03-27 00:09:46
891+
### Changes
892+
Based on:
893+
- OpenAPI Doc
894+
- Speakeasy CLI 1.524.0 (2.562.2) https://github.com/speakeasy-api/speakeasy
895+
### Generated
896+
- [python v0.31.5] .
897+
### Releases
898+
- [PyPI v0.31.5] https://pypi.org/project/unstructured-client/0.31.5 - .
899+
900+
## 2025-03-27 20:41:12
901+
### Changes
902+
Based on:
903+
- OpenAPI Doc
904+
- Speakeasy CLI 1.525.1 (2.562.2) https://github.com/speakeasy-api/speakeasy
905+
### Generated
906+
- [python v0.31.6] .
907+
### Releases
908+
- [PyPI v0.31.6] https://pypi.org/project/unstructured-client/0.31.6 - .
909+
910+
## 2025-03-28 19:00:48
911+
### Changes
912+
Based on:
913+
- OpenAPI Doc
914+
- Speakeasy CLI 1.526.0 (2.563.0) https://github.com/speakeasy-api/speakeasy
915+
### Generated
916+
- [python v0.32.0] .
917+
### Releases
918+
- [PyPI v0.32.0] https://pypi.org/project/unstructured-client/0.32.0 - .
919+
920+
## 2025-04-03 00:09:46
921+
### Changes
922+
Based on:
923+
- OpenAPI Doc
924+
- Speakeasy CLI 1.528.1 (2.565.1) https://github.com/speakeasy-api/speakeasy
925+
### Generated
926+
- [python v0.32.1] .
927+
### Releases
928+
- [PyPI v0.32.1] https://pypi.org/project/unstructured-client/0.32.1 - .

0 commit comments

Comments
 (0)