Skip to content

Commit 0ca19ab

Browse files
chore: 🐝 Update SDK - Generate (Unstructured-IO#82)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasyapi.dev/org/unstructured/unstructured5xr/linting-report/f9c111b8e8938e7c4d0876d40d4e2ce3> > OpenAPI Change report available at: <https://app.speakeasyapi.dev/org/unstructured/unstructured5xr/changes-report/96750408ac99e398fcd70d33d8f7f410> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.285.3 (2.326.3) https://github.com/speakeasy-api/speakeasy ## OpenAPI Change Summary ``` └─┬Components └─┬partition_parameters └──[➖] properties (1:8057)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | components | 1 | 1 | ## PYTHON CHANGELOG Co-authored-by: speakeasybot <[email protected]>
1 parent 50d967b commit 0ca19ab

File tree

8 files changed

+22
-17
lines changed

8 files changed

+22
-17
lines changed

.speakeasy/gen.lock

+4-4
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: 8c80286cc06f367a126edd92a615fdf5
4+
docChecksum: 21309b08b419660be631a9b5c6663a36
55
docVersion: 1.0.26
6-
speakeasyVersion: 1.285.1
6+
speakeasyVersion: 1.285.3
77
generationVersion: 2.326.3
8-
releaseVersion: 0.25.0
9-
configChecksum: 11e1da90f78d36c4b5c1c0bba4893d9e
8+
releaseVersion: 0.25.1
9+
configChecksum: 851eb4842084f0ec62b1539bba1a6916
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git

.speakeasy/workflow.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.285.1
1+
speakeasyVersion: 1.285.3
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:55e7b42f1619dc108f60e88edf8c3593b5a10b321ecd26c6ee534aec6de2109d
6-
sourceBlobDigest: sha256:1179553954bfd97a4cb3c3fe26e8232cfe4f01145d418c5f8b8e2df7b632b2dd
5+
sourceRevisionDigest: sha256:dba414d2909b68f7ff16d4de2fec1dce05ce03ae65e6942cd2a90fd563054448
6+
sourceBlobDigest: sha256:e85043bdac0436437f9bca6a9515b7cd4b0a58a1c29fb2a5c2818fc4f726b300
77
tags:
88
- latest
99
- main
1010
targets:
1111
unstructured-python:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:55e7b42f1619dc108f60e88edf8c3593b5a10b321ecd26c6ee534aec6de2109d
15-
sourceBlobDigest: sha256:1179553954bfd97a4cb3c3fe26e8232cfe4f01145d418c5f8b8e2df7b632b2dd
14+
sourceRevisionDigest: sha256:dba414d2909b68f7ff16d4de2fec1dce05ce03ae65e6942cd2a90fd563054448
15+
sourceBlobDigest: sha256:e85043bdac0436437f9bca6a9515b7cd4b0a58a1c29fb2a5c2818fc4f726b300
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0

RELEASES.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -522,4 +522,12 @@ Based on:
522522
- OpenAPI Doc
523523
- Speakeasy CLI 1.285.1 (2.326.3) https://github.com/speakeasy-api/speakeasy
524524
### Generated
525-
- [python v0.25.0] .
525+
- [python v0.25.0] .
526+
527+
## 2024-05-10 00:19:28
528+
### Changes
529+
Based on:
530+
- OpenAPI Doc
531+
- Speakeasy CLI 1.285.3 (2.326.3) https://github.com/speakeasy-api/speakeasy
532+
### Generated
533+
- [python v0.25.1] .

docs/models/shared/partitionparameters.md

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
| `similarity_threshold` | *Optional[float]* | :heavy_minus_sign: | A value between 0.0 and 1.0 describing the minimum similarity two elements must have to be included in the same chunk. Note that similar elements may be separated to meet chunk-size criteria; this value can only guarantees that two elements with similarity below the threshold will appear in separate chunks. | |
2828
| `skip_infer_table_types` | List[*str*] | :heavy_minus_sign: | The document types that you want to skip table extraction with. Default: [] | |
2929
| `split_pdf_page` | *Optional[bool]* | :heavy_minus_sign: | Should the pdf file be split at client. Ignored on backend. | |
30-
| `starting_page_number` | *Optional[int]* | :heavy_minus_sign: | The real number of the first PDF page. | |
3130
| `strategy` | [Optional[shared.Strategy]](../../models/shared/strategy.md) | :heavy_minus_sign: | The strategy to use for partitioning PDF/image. Options are fast, hi_res, auto. Default: auto | auto |
3231
| `unique_element_ids` | *Optional[bool]* | :heavy_minus_sign: | When `True`, assign UUIDs to element IDs, which guarantees their uniqueness <br/>(useful when using them as primary keys in database). Otherwise a SHA-256 of element text is used. Default: False | |
3332
| `xml_keep_tags` | *Optional[bool]* | :heavy_minus_sign: | If True, will retain the XML tags in the output. Otherwise it will simply extract the text from within the tags. Only applies to partition_xml. | |

gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
python:
13-
version: 0.25.0
13+
version: 0.25.1
1414
additionalDependencies:
1515
dependencies:
1616
deepdiff: '>=6.0'

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
setuptools.setup(
2121
name='unstructured-client',
22-
version='0.25.0',
22+
version='0.25.1',
2323
author='Unstructured',
2424
description='Python Client SDK for Unstructured API',
2525
license = 'MIT',

src/unstructured_client/models/shared/partition_parameters.py

-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ class PartitionParameters:
7474
r"""The document types that you want to skip table extraction with. Default: []"""
7575
split_pdf_page: Optional[bool] = dataclasses.field(default=None, metadata={'multipart_form': { 'field_name': 'split_pdf_page' }})
7676
r"""Should the pdf file be split at client. Ignored on backend."""
77-
starting_page_number: Optional[int] = dataclasses.field(default=None, metadata={'multipart_form': { 'field_name': 'starting_page_number' }})
78-
r"""The real number of the first PDF page."""
7977
strategy: Optional[Strategy] = dataclasses.field(default=Strategy.AUTO, metadata={'multipart_form': { 'field_name': 'strategy' }})
8078
r"""The strategy to use for partitioning PDF/image. Options are fast, hi_res, auto. Default: auto"""
8179
unique_element_ids: Optional[bool] = dataclasses.field(default=False, metadata={'multipart_form': { 'field_name': 'unique_element_ids' }})

src/unstructured_client/sdkconfiguration.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ class SDKConfiguration:
2929
server: Optional[str] = ''
3030
language: str = 'python'
3131
openapi_doc_version: str = '1.0.26'
32-
sdk_version: str = '0.25.0'
32+
sdk_version: str = '0.25.1'
3333
gen_version: str = '2.326.3'
34-
user_agent: str = 'speakeasy-sdk/python 0.25.0 2.326.3 1.0.26 unstructured-client'
34+
user_agent: str = 'speakeasy-sdk/python 0.25.1 2.326.3 1.0.26 unstructured-client'
3535
retry_config: Optional[RetryConfig] = None
3636

3737
def __post_init__(self):

0 commit comments

Comments
 (0)