File tree Expand file tree Collapse file tree 9 files changed +458
-33
lines changed Expand file tree Collapse file tree 9 files changed +458
-33
lines changed Original file line number Diff line number Diff line change 11lockVersion: 2.0.0
22id: 8b5fa338-9106-4734-abf0-e30d67044a90
33management:
4- docChecksum: bac3524113e4b9ed02bfae0e65ccb42b
4+ docChecksum: 940cbfd3d076c56d2c04a8413abb0e1d
55 docVersion: 1.1.25
6- speakeasyVersion: 1.552 .0
7- generationVersion: 2.610.0
8- releaseVersion: 0.37.1
9- configChecksum: 995e2ded80d15617a1661ac4be288219
6+ speakeasyVersion: 1.568 .0
7+ generationVersion: 2.632.2
8+ releaseVersion: 0.37.2
9+ configChecksum: c18311f5449d4c3ab52058b6c2ab8715
1010 repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111 repoSubDirectory: .
1212 installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -16,7 +16,7 @@ features:
1616 acceptHeaders: 3.0.0
1717 additionalDependencies: 1.0.0
1818 constsAndDefaults: 1.0.5
19- core: 5.19.0
19+ core: 5.19.3
2020 defaultEnabledRetries: 0.2.0
2121 enumUnions: 0.1.0
2222 envVarSecurityUsage: 0.3.2
@@ -32,7 +32,7 @@ features:
3232 openEnums: 1.0.1
3333 responseFormat: 1.0.1
3434 retries: 3.0.2
35- sdkHooks: 1.0.1
35+ sdkHooks: 1.1.0
3636 serverIDs: 3.0.0
3737 unions: 3.0.4
3838 uploadStreams: 1.0.0
Original file line number Diff line number Diff line change @@ -2,20 +2,20 @@ speakeasyVersion: 1.552.0
22sources:
33 my-source:
44 sourceNamespace: my-source
5- sourceRevisionDigest: sha256:d14d57547ad78fb9de555d53df7316688897fcfde70597ebae236e093686ac64
5+ sourceRevisionDigest: sha256:71b0c415bf2f060aae163e8321db207f2c3a5661e9fc4687f442ff1d7bf63a31
66 sourceBlobDigest: sha256:344e0d1a73221fe624794cb7c74290201da4093a73b6897fcbadea1d1cc99447
77 tags:
88 - latest
9- - speakeasy-sdk-regen-1749082267
9+ - speakeasy-sdk-regen-1750778809
1010 - 1.1.25
1111targets:
1212 unstructured-python:
1313 source: my-source
1414 sourceNamespace: my-source
15- sourceRevisionDigest: sha256:d14d57547ad78fb9de555d53df7316688897fcfde70597ebae236e093686ac64
15+ sourceRevisionDigest: sha256:71b0c415bf2f060aae163e8321db207f2c3a5661e9fc4687f442ff1d7bf63a31
1616 sourceBlobDigest: sha256:344e0d1a73221fe624794cb7c74290201da4093a73b6897fcbadea1d1cc99447
1717 codeSamplesNamespace: my-source-code-samples
18- codeSamplesRevisionDigest: sha256:0d9d8872a992b8f4dc480ccfd3fe65d9966f22cfbc3e69668ab15922d75a6c4c
18+ codeSamplesRevisionDigest: sha256:a50f51859ef75df1e6875cbaf24765f1fdad97a569e90b04084015fc6a98029c
1919workflow:
2020 workflowVersion: 1.0.0
2121 speakeasyVersion: latest
Original file line number Diff line number Diff line change @@ -410,30 +410,18 @@ Certain SDK methods accept file objects as part of a request body or multi-part
410410
411411``` python
412412from unstructured_client import UnstructuredClient
413- from unstructured_client.models import shared
414413
415414
416415with UnstructuredClient() as uc_client:
417416
418- res = uc_client.general.partition(request = {
419- " partition_parameters" : {
420- " files" : {
421- " content" : open (" example.file" , " rb" ),
422- " file_name" : " example.file" ,
423- },
424- " split_pdf_page_range" : [
425- 1 ,
426- 10 ,
427- ],
428- " vlm_model" : shared.VLMModel.GPT_4O ,
429- " vlm_model_provider" : shared.VLMModelProvider.OPENAI ,
430- },
417+ res = uc_client.workflows.run_workflow(request = {
418+ " workflow_id" : " e7054f23-ce92-4bf1-a1d7-7cf9cb14d013" ,
431419 })
432420
433- assert res.elements is not None
421+ assert res.job_information is not None
434422
435423 # Handle response
436- print (res.elements )
424+ print (res.job_information )
437425
438426```
439427<!-- End File uploads [file-upload] -->
Original file line number Diff line number Diff line change @@ -1017,4 +1017,14 @@ Based on:
10171017### Generated
10181018- [ python v0.37.1] .
10191019### Releases
1020- - [ PyPI v0.37.1] https://pypi.org/project/unstructured-client/0.37.1 - .
1020+ - [ PyPI v0.37.1] https://pypi.org/project/unstructured-client/0.37.1 - .
1021+
1022+ ## 2025-06-24 15:26:33
1023+ ### Changes
1024+ Based on:
1025+ - OpenAPI Doc
1026+ - Speakeasy CLI 1.552.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
1027+ ### Generated
1028+ - [ python v0.37.2] .
1029+ ### Releases
1030+ - [ PyPI v0.37.2] https://pypi.org/project/unstructured-client/0.37.2 - .
Original file line number Diff line number Diff line change @@ -22,14 +22,17 @@ with UnstructuredClient() as uc_client:
2222
2323 res = uc_client.general.partition(request = {
2424 " partition_parameters" : {
25+ " chunking_strategy" : " by_title" ,
2526 " files" : {
2627 " content" : open (" example.file" , " rb" ),
2728 " file_name" : " example.file" ,
2829 },
30+ " split_pdf_cache_tmp_data_dir" : " <value>" ,
2931 " split_pdf_page_range" : [
3032 1 ,
3133 10 ,
3234 ],
35+ " strategy" : shared.Strategy.AUTO ,
3336 " vlm_model" : shared.VLMModel.GPT_4O ,
3437 " vlm_model_provider" : shared.VLMModelProvider.OPENAI ,
3538 },
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ generation:
1414 oAuth2ClientCredentialsEnabled : false
1515 oAuth2PasswordEnabled : false
1616python :
17- version : 0.37.1
17+ version : 0.37.2
1818 additionalDependencies :
1919 dev :
2020 deepdiff : ' >=6.0'
Original file line number Diff line number Diff line change 11[project ]
22name = " unstructured-client"
3- version = " 0.37.1 "
3+ version = " 0.37.2 "
44description = " Python Client SDK for Unstructured API"
55authors = [{ name = " Unstructured" },]
66readme = " README-PYPI.md"
@@ -52,6 +52,8 @@ pythonpath = ["src"]
5252
5353[tool .mypy ]
5454disable_error_code = " misc"
55+ explicit_package_bases = true
56+ mypy_path = " src"
5557
5658[[tool .mypy .overrides ]]
5759module = " typing_inspect"
Original file line number Diff line number Diff line change 33import importlib .metadata
44
55__title__ : str = "unstructured-client"
6- __version__ : str = "0.37.1 "
6+ __version__ : str = "0.37.2 "
77__openapi_doc_version__ : str = "1.1.25"
8- __gen_version__ : str = "2.610.0 "
9- __user_agent__ : str = "speakeasy-sdk/python 0.37.1 2.610.0 1.1.25 unstructured-client"
8+ __gen_version__ : str = "2.632.2 "
9+ __user_agent__ : str = "speakeasy-sdk/python 0.37.2 2.632.2 1.1.25 unstructured-client"
1010
1111try :
1212 if __package__ is not None :
You can’t perform that action at this time.
0 commit comments