Skip to content

Commit e6c640e

Browse files
github-actions[bot]speakeasybotawalker4
authored
chore: 🐝 Update SDK - Generate 0.30.6 (#233)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/e2f93a9d04823f91142e83eab004b27c> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/67614fc1153945b468c449469647685c> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.505.0 (2.531.0) https://github.com/speakeasy-api/speakeasy ## Versioning Version Bump Type: [minor] - 🤖 (automated) ## OpenAPI Change Summary ``` └─┬Components ├──[➕] schemas (5381:31) ├──[➕] schemas (1770:40) ├──[➕] schemas (1752:35) ├─┬SourceConnectorType │ └──[➕] enum (4927:11) ├─┬WorkflowNode │ └─┬settings │ ├──[➖] title (1:71904) │ ├─┬ANYOF │ │ └──[🔀] type (5369:25)❌ │ └─┬ANYOF │ └──[🔀] $ref (5382:17)❌ ├─┬CreateSourceConnector │ └─┬config │ ├──[➕] anyOf (2099:46) │ ├─┬ANYOF │ │ └──[🔀] $ref (1771:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (1690:17)❌ │ └─┬ANYOF │ └──[🔀] $ref (2855:17)❌ ├─┬SourceConnectorInformation │ └─┬config │ ├──[➕] anyOf (1627:37) │ ├─┬ANYOF │ │ └──[🔀] $ref (1753:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3721:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2832:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3445:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4675:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4252:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4449:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2962:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2040:17)❌ │ └─┬ANYOF │ └──[🔀] $ref (2915:17)❌ └─┬UpdateSourceConnector └─┬config ├──[➕] anyOf (2099:46) ├─┬ANYOF │ └──[🔀] $ref (1771:17)❌ ├─┬ANYOF │ └──[🔀] $ref (1690:17)❌ └─┬ANYOF └──[🔀] $ref (2855:17)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | components | 26 | 18 | ## PYTHON CHANGELOG ## nullables: 1.0.1 - 2025-02-17 ### 🐛 Bug Fixes - represent maps/arrays that can contain null *(commit by [@disintegrator](https://github.com/disintegrator))* ## sdkHooks: 1.0.1 - 2025-02-18 ### 🐛 Bug Fixes - Ensure base_url is set with global or client instantiation server URL *(commit by [@bflad](https://github.com/bflad))* ## core: 5.12.1 - 2025-02-21 ### 🐛 Bug Fixes - handle usage snippet templating when no servers are defined in the spec *(commit by [@vishalg0wda](https://github.com/vishalg0wda))* ## core: 5.12.0 - 2025-02-12 ### 🐝 New Features - support openapi specs without server urls *(commit by [@vishalg0wda](https://github.com/vishalg0wda))* --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: Austin Walker <[email protected]>
1 parent b80efbf commit e6c640e

15 files changed

+163
-39
lines changed

Diff for: .speakeasy/gen.lock

+7-5
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: 0f9100e28d13105be2af4e576ea4572c
5-
docVersion: 1.0.68
4+
docChecksum: 83f88cfa4bd77e1d3065b11a97119361
5+
docVersion: 1.0.78
66
speakeasyVersion: 1.490.0
77
generationVersion: 2.512.0
8-
releaseVersion: 0.30.5
9-
configChecksum: 25a75f7add3305b685de164ad454cb9a
8+
releaseVersion: 0.30.6
9+
configChecksum: c946e26d3a3b2fe2756ff169416b448c
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -143,6 +143,8 @@ generatedFiles:
143143
- docs/models/shared/outlooksourceconnectorconfiginput.md
144144
- docs/models/shared/outputformat.md
145145
- docs/models/shared/partitionparameters.md
146+
- docs/models/shared/partitionparametersschemasstrategy.md
147+
- docs/models/shared/partitionparametersstrategy.md
146148
- docs/models/shared/postgresdestinationconnectorconfig.md
147149
- docs/models/shared/postgresdestinationconnectorconfiginput.md
148150
- docs/models/shared/qdrantclouddestinationconnectorconfig.md
@@ -536,7 +538,7 @@ examples:
536538
partition:
537539
speakeasy-default-partition:
538540
requestBody:
539-
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": "hi_res", "table_ocr_agent": null, "unique_element_ids": false, "xml_keep_tags": false}
541+
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}
540542
responses:
541543
"200":
542544
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"}}]

Diff for: .speakeasy/workflow.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.504.1
1+
speakeasyVersion: 1.505.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:4f63229dca06781c54905bcb9c2769ef714dccbd7b347d72ed6b9c0a57f768f9
6-
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
5+
sourceRevisionDigest: sha256:8cba0cf748e247efccefbb5d1839dbeb6e2e3210bb2c90f7b75b9034c22ae24a
6+
sourceBlobDigest: sha256:69fef8ed681f1d68013e71f67927821d64fc1045d3956ace3775fe62ed76b8bb
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740499439
9+
- speakeasy-sdk-regen-1740605410
1010
- 1.0.68
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:4f63229dca06781c54905bcb9c2769ef714dccbd7b347d72ed6b9c0a57f768f9
16-
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
15+
sourceRevisionDigest: sha256:8cba0cf748e247efccefbb5d1839dbeb6e2e3210bb2c90f7b75b9034c22ae24a
16+
sourceBlobDigest: sha256:69fef8ed681f1d68013e71f67927821d64fc1045d3956ace3775fe62ed76b8bb
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:c7f49ae4ef636cb4f1f872f62dbec7312d7cff92d59e1de774428843f0474b91
18+
codeSamplesRevisionDigest: sha256:d7a20fe1c8d687f377099cdb412c6d0dd733dd982ec4662052df0894da211da2
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

Diff for: README.md

+3
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ Certain SDK methods accept file objects as part of a request body or multi-part
449449
450450
```python
451451
from unstructured_client import UnstructuredClient
452+
from unstructured_client.models import shared
452453

453454
with UnstructuredClient() as uc_client:
454455

@@ -462,6 +463,8 @@ with UnstructuredClient() as uc_client:
462463
1,
463464
10,
464465
],
466+
"vlm_model": shared.PartitionParametersStrategy.GPT_4O,
467+
"vlm_model_provider": shared.PartitionParametersSchemasStrategy.OPENAI,
465468
},
466469
})
467470

Diff for: RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -824,4 +824,14 @@ Based on:
824824
### Generated
825825
- [python v0.31.0] .
826826
### Releases
827-
- [PyPI v0.31.0] https://pypi.org/project/unstructured-client/0.31.0 - .
827+
- [PyPI v0.31.0] https://pypi.org/project/unstructured-client/0.31.0 - .
828+
829+
## 2025-02-26 21:29:54
830+
### Changes
831+
Based on:
832+
- OpenAPI Doc
833+
- Speakeasy CLI 1.505.0 (2.531.0) https://github.com/speakeasy-api/speakeasy
834+
### Generated
835+
- [python v0.30.6] .
836+
### Releases
837+
- [PyPI v0.30.6] https://pypi.org/project/unstructured-client/0.30.6 - .

0 commit comments

Comments
 (0)