Skip to content

chore: 🐝 Update SDK - Generate 0.37.2 #278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: bac3524113e4b9ed02bfae0e65ccb42b
docChecksum: 940cbfd3d076c56d2c04a8413abb0e1d
docVersion: 1.1.25
speakeasyVersion: 1.552.0
generationVersion: 2.610.0
releaseVersion: 0.37.1
configChecksum: 995e2ded80d15617a1661ac4be288219
speakeasyVersion: 1.568.0
generationVersion: 2.632.2
releaseVersion: 0.37.2
configChecksum: c18311f5449d4c3ab52058b6c2ab8715
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
Expand All @@ -16,7 +16,7 @@ features:
acceptHeaders: 3.0.0
additionalDependencies: 1.0.0
constsAndDefaults: 1.0.5
core: 5.19.0
core: 5.19.3
defaultEnabledRetries: 0.2.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.3.2
Expand All @@ -32,7 +32,7 @@ features:
openEnums: 1.0.1
responseFormat: 1.0.1
retries: 3.0.2
sdkHooks: 1.0.1
sdkHooks: 1.1.0
serverIDs: 3.0.0
unions: 3.0.4
uploadStreams: 1.0.0
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ speakeasyVersion: 1.552.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:d14d57547ad78fb9de555d53df7316688897fcfde70597ebae236e093686ac64
sourceRevisionDigest: sha256:71b0c415bf2f060aae163e8321db207f2c3a5661e9fc4687f442ff1d7bf63a31
sourceBlobDigest: sha256:344e0d1a73221fe624794cb7c74290201da4093a73b6897fcbadea1d1cc99447
tags:
- latest
- speakeasy-sdk-regen-1749082267
- speakeasy-sdk-regen-1750778809
- 1.1.25
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:d14d57547ad78fb9de555d53df7316688897fcfde70597ebae236e093686ac64
sourceRevisionDigest: sha256:71b0c415bf2f060aae163e8321db207f2c3a5661e9fc4687f442ff1d7bf63a31
sourceBlobDigest: sha256:344e0d1a73221fe624794cb7c74290201da4093a73b6897fcbadea1d1cc99447
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:0d9d8872a992b8f4dc480ccfd3fe65d9966f22cfbc3e69668ab15922d75a6c4c
codeSamplesRevisionDigest: sha256:a50f51859ef75df1e6875cbaf24765f1fdad97a569e90b04084015fc6a98029c
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
20 changes: 4 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,30 +410,18 @@ Certain SDK methods accept file objects as part of a request body or multi-part
```python
from unstructured_client import UnstructuredClient
from unstructured_client.models import shared


with UnstructuredClient() as uc_client:

res = uc_client.general.partition(request={
"partition_parameters": {
"files": {
"content": open("example.file", "rb"),
"file_name": "example.file",
},
"split_pdf_page_range": [
1,
10,
],
"vlm_model": shared.VLMModel.GPT_4O,
"vlm_model_provider": shared.VLMModelProvider.OPENAI,
},
res = uc_client.workflows.run_workflow(request={
"workflow_id": "e7054f23-ce92-4bf1-a1d7-7cf9cb14d013",
})

assert res.elements is not None
assert res.job_information is not None

# Handle response
print(res.elements)
print(res.job_information)

```
<!-- End File uploads [file-upload] -->
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1017,4 +1017,14 @@ Based on:
### Generated
- [python v0.37.1] .
### Releases
- [PyPI v0.37.1] https://pypi.org/project/unstructured-client/0.37.1 - .
- [PyPI v0.37.1] https://pypi.org/project/unstructured-client/0.37.1 - .

## 2025-06-24 15:26:33
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.552.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.37.2] .
### Releases
- [PyPI v0.37.2] https://pypi.org/project/unstructured-client/0.37.2 - .
3 changes: 3 additions & 0 deletions docs/sdks/general/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@ with UnstructuredClient() as uc_client:

res = uc_client.general.partition(request={
"partition_parameters": {
"chunking_strategy": "by_title",
"files": {
"content": open("example.file", "rb"),
"file_name": "example.file",
},
"split_pdf_cache_tmp_data_dir": "<value>",
"split_pdf_page_range": [
1,
10,
],
"strategy": shared.Strategy.AUTO,
"vlm_model": shared.VLMModel.GPT_4O,
"vlm_model_provider": shared.VLMModelProvider.OPENAI,
},
Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
python:
version: 0.37.1
version: 0.37.2
additionalDependencies:
dev:
deepdiff: '>=6.0'
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "unstructured-client"
version = "0.37.1"
version = "0.37.2"
description = "Python Client SDK for Unstructured API"
authors = [{ name = "Unstructured" },]
readme = "README-PYPI.md"
Expand Down Expand Up @@ -52,6 +52,8 @@ pythonpath = ["src"]

[tool.mypy]
disable_error_code = "misc"
explicit_package_bases = true
mypy_path = "src"

[[tool.mypy.overrides]]
module = "typing_inspect"
Expand Down
6 changes: 3 additions & 3 deletions src/unstructured_client/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "unstructured-client"
__version__: str = "0.37.1"
__version__: str = "0.37.2"
__openapi_doc_version__: str = "1.1.25"
__gen_version__: str = "2.610.0"
__user_agent__: str = "speakeasy-sdk/python 0.37.1 2.610.0 1.1.25 unstructured-client"
__gen_version__: str = "2.632.2"
__user_agent__: str = "speakeasy-sdk/python 0.37.2 2.632.2 1.1.25 unstructured-client"

try:
if __package__ is not None:
Expand Down
Loading