Skip to content

Commit f927744

Browse files
chore: 🐝 Update SDK - Generate 0.25.3 (#144)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasyapi.dev/org/unstructured/unstructured5xr/linting-report/8d91627f1963ec8f6d152557e1fc5867> > OpenAPI Change report available at: <https://app.speakeasyapi.dev/org/unstructured/unstructured5xr/changes-report/20d8069384761328b80f09c73107a553> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.352.2 (2.385.2) https://github.com/speakeasy-api/speakeasy ## OpenAPI Change Summary ``` ├─┬Info │ └──[🔀] version (4:14) └─┬Components └─┬partition_parameters └──[➕] properties (103:17) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | info | 1 | 0 | | components | 1 | 0 | Co-authored-by: speakeasybot <[email protected]>
1 parent 7fe66d6 commit f927744

File tree

8 files changed

+32
-19
lines changed

8 files changed

+32
-19
lines changed

Diff for: .speakeasy/gen.lock

+7-7
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: 47b6fa4630fd66b59c0579ce79bc6ce3
5-
docVersion: 1.0.42
6-
speakeasyVersion: 1.352.1
7-
generationVersion: 2.385.1
8-
releaseVersion: 0.25.2
9-
configChecksum: a9359082a36d964c3b4ca401770510ea
4+
docChecksum: f4daf2a82fa5421160b71b44ed12f0b9
5+
docVersion: 1.0.43
6+
speakeasyVersion: 1.352.2
7+
generationVersion: 2.385.2
8+
releaseVersion: 0.25.3
9+
configChecksum: ddc7435caf130892c3dee03e0f26840a
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -17,7 +17,7 @@ features:
1717
constsAndDefaults: 0.1.3
1818
core: 4.8.4
1919
examples: 2.81.3
20-
globalSecurity: 2.83.5
20+
globalSecurity: 2.83.6
2121
globalSecurityCallbacks: 0.1.0
2222
globalSecurityFlattening: 0.1.0
2323
globalServerURLs: 2.82.2

Diff for: .speakeasy/workflow.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.352.1
1+
speakeasyVersion: 1.352.2
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:204ce6bd0666235fd0364d4befe342a0a3ef1de2c7efb26c8c7347fb73c8de0e
6-
sourceBlobDigest: sha256:29f4b5735bb7a333f2efcf0f1453e6c8281f7a04302837c07a92dc0e7b0115c4
5+
sourceRevisionDigest: sha256:0016df31d8fd1ddee8895c62863313e3ff9a03e1aecca43c7b7fa995d357d80a
6+
sourceBlobDigest: sha256:1d359865a4c9fed527678b686ca7e41b09bdb44f22e05c5dd7d81079a9e3dfe3
77
tags:
88
- latest
99
- main
1010
targets:
1111
unstructured-python:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:204ce6bd0666235fd0364d4befe342a0a3ef1de2c7efb26c8c7347fb73c8de0e
15-
sourceBlobDigest: sha256:29f4b5735bb7a333f2efcf0f1453e6c8281f7a04302837c07a92dc0e7b0115c4
14+
sourceRevisionDigest: sha256:0016df31d8fd1ddee8895c62863313e3ff9a03e1aecca43c7b7fa995d357d80a
15+
sourceBlobDigest: sha256:1d359865a4c9fed527678b686ca7e41b09bdb44f22e05c5dd7d81079a9e3dfe3
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0

Diff for: RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -614,4 +614,14 @@ Based on:
614614
### Generated
615615
- [python v0.25.2] .
616616
### Releases
617-
- [PyPI v0.25.2] https://pypi.org/project/unstructured-client/0.25.2 - .
617+
- [PyPI v0.25.2] https://pypi.org/project/unstructured-client/0.25.2 - .
618+
619+
## 2024-08-06 00:40:16
620+
### Changes
621+
Based on:
622+
- OpenAPI Doc
623+
- Speakeasy CLI 1.352.2 (2.385.2) https://github.com/speakeasy-api/speakeasy
624+
### Generated
625+
- [python v0.25.3] .
626+
### Releases
627+
- [PyPI v0.25.3] https://pypi.org/project/unstructured-client/0.25.3 - .

Diff for: docs/models/shared/partitionparameters.md

+1
Large diffs are not rendered by default.

Diff for: 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.2
13+
version: 0.25.3
1414
additionalDependencies:
1515
dependencies:
1616
deepdiff: '>=6.0'

Diff for: 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.2',
22+
version='0.25.3',
2323
author='Unstructured',
2424
description='Python Client SDK for Unstructured API',
2525
license = 'MIT',

Diff for: src/unstructured_client/models/shared/partition_parameters.py

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ class PartitionParameters:
4545
r"""Use one of the supported strategies to chunk the returned elements after partitioning. When 'chunking_strategy' is not specified, no chunking is performed and any other chunking parameters provided are ignored. Supported strategies: 'basic', 'by_page', 'by_similarity', or 'by_title'"""
4646
combine_under_n_chars: Optional[int] = dataclasses.field(default=None, metadata={'multipart_form': { 'field_name': 'combine_under_n_chars' }})
4747
r"""If chunking strategy is set, combine elements until a section reaches a length of n chars. Default: 500"""
48+
content_type: Optional[str] = dataclasses.field(default=None, metadata={'multipart_form': { 'field_name': 'content_type' }})
49+
r"""A hint about the content type to use (such as text/markdown), when there are problems processing a specific file. This value is a MIME type in the format type/subtype."""
4850
coordinates: Optional[bool] = dataclasses.field(default=False, metadata={'multipart_form': { 'field_name': 'coordinates' }})
4951
r"""If `True`, return coordinates for each element extracted via OCR. Default: `False`"""
5052
encoding: Optional[str] = dataclasses.field(default=None, metadata={'multipart_form': { 'field_name': 'encoding' }})

Diff for: src/unstructured_client/sdkconfiguration.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ class SDKConfiguration:
3131
server_url: Optional[str] = ''
3232
server: Optional[str] = ''
3333
language: str = 'python'
34-
openapi_doc_version: str = '1.0.42'
35-
sdk_version: str = '0.25.2'
36-
gen_version: str = '2.385.1'
37-
user_agent: str = 'speakeasy-sdk/python 0.25.2 2.385.1 1.0.42 unstructured-client'
34+
openapi_doc_version: str = '1.0.43'
35+
sdk_version: str = '0.25.3'
36+
gen_version: str = '2.385.2'
37+
user_agent: str = 'speakeasy-sdk/python 0.25.3 2.385.2 1.0.43 unstructured-client'
3838
retry_config: Optional[RetryConfig] = None
3939

4040
def __post_init__(self):

0 commit comments

Comments
 (0)