Skip to content

Commit

Permalink
chore: 🐝 Update SDK - Generate 0.25.3 (#144)
Browse files Browse the repository at this point in the history
> [!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]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Aug 6, 2024
1 parent 7fe66d6 commit f927744
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 19 deletions.
14 changes: 7 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 8b5fa338-9106-4734-abf0-e30d67044a90
management:
docChecksum: 47b6fa4630fd66b59c0579ce79bc6ce3
docVersion: 1.0.42
speakeasyVersion: 1.352.1
generationVersion: 2.385.1
releaseVersion: 0.25.2
configChecksum: a9359082a36d964c3b4ca401770510ea
docChecksum: f4daf2a82fa5421160b71b44ed12f0b9
docVersion: 1.0.43
speakeasyVersion: 1.352.2
generationVersion: 2.385.2
releaseVersion: 0.25.3
configChecksum: ddc7435caf130892c3dee03e0f26840a
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
Expand All @@ -17,7 +17,7 @@ features:
constsAndDefaults: 0.1.3
core: 4.8.4
examples: 2.81.3
globalSecurity: 2.83.5
globalSecurity: 2.83.6
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
globalServerURLs: 2.82.2
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.352.1
speakeasyVersion: 1.352.2
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:204ce6bd0666235fd0364d4befe342a0a3ef1de2c7efb26c8c7347fb73c8de0e
sourceBlobDigest: sha256:29f4b5735bb7a333f2efcf0f1453e6c8281f7a04302837c07a92dc0e7b0115c4
sourceRevisionDigest: sha256:0016df31d8fd1ddee8895c62863313e3ff9a03e1aecca43c7b7fa995d357d80a
sourceBlobDigest: sha256:1d359865a4c9fed527678b686ca7e41b09bdb44f22e05c5dd7d81079a9e3dfe3
tags:
- latest
- main
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:204ce6bd0666235fd0364d4befe342a0a3ef1de2c7efb26c8c7347fb73c8de0e
sourceBlobDigest: sha256:29f4b5735bb7a333f2efcf0f1453e6c8281f7a04302837c07a92dc0e7b0115c4
sourceRevisionDigest: sha256:0016df31d8fd1ddee8895c62863313e3ff9a03e1aecca43c7b7fa995d357d80a
sourceBlobDigest: sha256:1d359865a4c9fed527678b686ca7e41b09bdb44f22e05c5dd7d81079a9e3dfe3
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -614,4 +614,14 @@ Based on:
### Generated
- [python v0.25.2] .
### Releases
- [PyPI v0.25.2] https://pypi.org/project/unstructured-client/0.25.2 - .
- [PyPI v0.25.2] https://pypi.org/project/unstructured-client/0.25.2 - .

## 2024-08-06 00:40:16
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.352.2 (2.385.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.25.3] .
### Releases
- [PyPI v0.25.3] https://pypi.org/project/unstructured-client/0.25.3 - .
1 change: 1 addition & 0 deletions docs/models/shared/partitionparameters.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
python:
version: 0.25.2
version: 0.25.3
additionalDependencies:
dependencies:
deepdiff: '>=6.0'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setuptools.setup(
name='unstructured-client',
version='0.25.2',
version='0.25.3',
author='Unstructured',
description='Python Client SDK for Unstructured API',
license = 'MIT',
Expand Down
2 changes: 2 additions & 0 deletions src/unstructured_client/models/shared/partition_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ class PartitionParameters:
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'"""
combine_under_n_chars: Optional[int] = dataclasses.field(default=None, metadata={'multipart_form': { 'field_name': 'combine_under_n_chars' }})
r"""If chunking strategy is set, combine elements until a section reaches a length of n chars. Default: 500"""
content_type: Optional[str] = dataclasses.field(default=None, metadata={'multipart_form': { 'field_name': 'content_type' }})
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."""
coordinates: Optional[bool] = dataclasses.field(default=False, metadata={'multipart_form': { 'field_name': 'coordinates' }})
r"""If `True`, return coordinates for each element extracted via OCR. Default: `False`"""
encoding: Optional[str] = dataclasses.field(default=None, metadata={'multipart_form': { 'field_name': 'encoding' }})
Expand Down
8 changes: 4 additions & 4 deletions src/unstructured_client/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ class SDKConfiguration:
server_url: Optional[str] = ''
server: Optional[str] = ''
language: str = 'python'
openapi_doc_version: str = '1.0.42'
sdk_version: str = '0.25.2'
gen_version: str = '2.385.1'
user_agent: str = 'speakeasy-sdk/python 0.25.2 2.385.1 1.0.42 unstructured-client'
openapi_doc_version: str = '1.0.43'
sdk_version: str = '0.25.3'
gen_version: str = '2.385.2'
user_agent: str = 'speakeasy-sdk/python 0.25.3 2.385.2 1.0.43 unstructured-client'
retry_config: Optional[RetryConfig] = None

def __post_init__(self):
Expand Down

0 comments on commit f927744

Please sign in to comment.