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 1
1
lockVersion: 2.0.0
2
2
id: 8b5fa338-9106-4734-abf0-e30d67044a90
3
3
management:
4
- docChecksum: bac3524113e4b9ed02bfae0e65ccb42b
4
+ docChecksum: 940cbfd3d076c56d2c04a8413abb0e1d
5
5
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
10
10
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
11
11
repoSubDirectory: .
12
12
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -16,7 +16,7 @@ features:
16
16
acceptHeaders: 3.0.0
17
17
additionalDependencies: 1.0.0
18
18
constsAndDefaults: 1.0.5
19
- core: 5.19.0
19
+ core: 5.19.3
20
20
defaultEnabledRetries: 0.2.0
21
21
enumUnions: 0.1.0
22
22
envVarSecurityUsage: 0.3.2
@@ -32,7 +32,7 @@ features:
32
32
openEnums: 1.0.1
33
33
responseFormat: 1.0.1
34
34
retries: 3.0.2
35
- sdkHooks: 1.0.1
35
+ sdkHooks: 1.1.0
36
36
serverIDs: 3.0.0
37
37
unions: 3.0.4
38
38
uploadStreams: 1.0.0
Original file line number Diff line number Diff line change @@ -2,20 +2,20 @@ speakeasyVersion: 1.552.0
2
2
sources:
3
3
my-source:
4
4
sourceNamespace: my-source
5
- sourceRevisionDigest: sha256:d14d57547ad78fb9de555d53df7316688897fcfde70597ebae236e093686ac64
5
+ sourceRevisionDigest: sha256:71b0c415bf2f060aae163e8321db207f2c3a5661e9fc4687f442ff1d7bf63a31
6
6
sourceBlobDigest: sha256:344e0d1a73221fe624794cb7c74290201da4093a73b6897fcbadea1d1cc99447
7
7
tags:
8
8
- latest
9
- - speakeasy-sdk-regen-1749082267
9
+ - speakeasy-sdk-regen-1750778809
10
10
- 1.1.25
11
11
targets:
12
12
unstructured-python:
13
13
source: my-source
14
14
sourceNamespace: my-source
15
- sourceRevisionDigest: sha256:d14d57547ad78fb9de555d53df7316688897fcfde70597ebae236e093686ac64
15
+ sourceRevisionDigest: sha256:71b0c415bf2f060aae163e8321db207f2c3a5661e9fc4687f442ff1d7bf63a31
16
16
sourceBlobDigest: sha256:344e0d1a73221fe624794cb7c74290201da4093a73b6897fcbadea1d1cc99447
17
17
codeSamplesNamespace: my-source-code-samples
18
- codeSamplesRevisionDigest: sha256:0d9d8872a992b8f4dc480ccfd3fe65d9966f22cfbc3e69668ab15922d75a6c4c
18
+ codeSamplesRevisionDigest: sha256:a50f51859ef75df1e6875cbaf24765f1fdad97a569e90b04084015fc6a98029c
19
19
workflow:
20
20
workflowVersion: 1.0.0
21
21
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
410
410
411
411
``` python
412
412
from unstructured_client import UnstructuredClient
413
- from unstructured_client.models import shared
414
413
415
414
416
415
with UnstructuredClient() as uc_client:
417
416
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" ,
431
419
})
432
420
433
- assert res.elements is not None
421
+ assert res.job_information is not None
434
422
435
423
# Handle response
436
- print (res.elements )
424
+ print (res.job_information )
437
425
438
426
```
439
427
<!-- End File uploads [file-upload] -->
Original file line number Diff line number Diff line change @@ -1017,4 +1017,14 @@ Based on:
1017
1017
### Generated
1018
1018
- [ python v0.37.1] .
1019
1019
### 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:
22
22
23
23
res = uc_client.general.partition(request = {
24
24
" partition_parameters" : {
25
+ " chunking_strategy" : " by_title" ,
25
26
" files" : {
26
27
" content" : open (" example.file" , " rb" ),
27
28
" file_name" : " example.file" ,
28
29
},
30
+ " split_pdf_cache_tmp_data_dir" : " <value>" ,
29
31
" split_pdf_page_range" : [
30
32
1 ,
31
33
10 ,
32
34
],
35
+ " strategy" : shared.Strategy.AUTO ,
33
36
" vlm_model" : shared.VLMModel.GPT_4O ,
34
37
" vlm_model_provider" : shared.VLMModelProvider.OPENAI ,
35
38
},
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ generation:
14
14
oAuth2ClientCredentialsEnabled : false
15
15
oAuth2PasswordEnabled : false
16
16
python :
17
- version : 0.37.1
17
+ version : 0.37.2
18
18
additionalDependencies :
19
19
dev :
20
20
deepdiff : ' >=6.0'
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " unstructured-client"
3
- version = " 0.37.1 "
3
+ version = " 0.37.2 "
4
4
description = " Python Client SDK for Unstructured API"
5
5
authors = [{ name = " Unstructured" },]
6
6
readme = " README-PYPI.md"
@@ -52,6 +52,8 @@ pythonpath = ["src"]
52
52
53
53
[tool .mypy ]
54
54
disable_error_code = " misc"
55
+ explicit_package_bases = true
56
+ mypy_path = " src"
55
57
56
58
[[tool .mypy .overrides ]]
57
59
module = " typing_inspect"
Original file line number Diff line number Diff line change 3
3
import importlib .metadata
4
4
5
5
__title__ : str = "unstructured-client"
6
- __version__ : str = "0.37.1 "
6
+ __version__ : str = "0.37.2 "
7
7
__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"
10
10
11
11
try :
12
12
if __package__ is not None :
You can’t perform that action at this time.
0 commit comments