Skip to content

Commit f773b0d

Browse files
chore: 🐝 Update SDK - Generate 0.25.9 (#177)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/d2bc6f83effd47e2e89c60737ce323e6> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/7a3117a9f5b2e6252e1390b8cae91792> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.399.2 (2.416.6) https://github.com/speakeasy-api/speakeasy ## OpenAPI Change Summary No specification changes Co-authored-by: speakeasybot <[email protected]>
1 parent 84f39e9 commit f773b0d

File tree

10 files changed

+36
-26
lines changed

10 files changed

+36
-26
lines changed

Diff for: .speakeasy/gen.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ id: 8b5fa338-9106-4734-abf0-e30d67044a90
33
management:
44
docChecksum: ad32e3faae264ab1eb7cf461e373dcfa
55
docVersion: 1.0.48
6-
speakeasyVersion: 1.394.0
7-
generationVersion: 2.413.0
8-
releaseVersion: 0.25.8
9-
configChecksum: a507e57b6d5946017db1c1c77d195ca1
6+
speakeasyVersion: 1.399.2
7+
generationVersion: 2.416.6
8+
releaseVersion: 0.25.9
9+
configChecksum: b89659e8aec8879c7c254a35eb4c177a
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -15,7 +15,7 @@ features:
1515
python:
1616
additionalDependencies: 0.1.0
1717
constsAndDefaults: 0.1.4
18-
core: 4.8.7
18+
core: 4.8.9
1919
examples: 2.81.3
2020
globalSecurity: 2.83.7
2121
globalSecurityCallbacks: 0.1.0
@@ -76,11 +76,11 @@ examples:
7676
partition:
7777
speakeasy-default-partition:
7878
requestBody:
79-
multipart/form-data: {"chunking_strategy": "by_title", "files": {"": "your_file_here"}, "split_pdf_page_range": [1, 10], "strategy": "hi_res"}
79+
multipart/form-data: {"chunking_strategy": "by_title", "files": {"": "{\"summary\":\"File to be partitioned\",\"externalValue\":\"https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf\"}"}, "split_pdf_page_range": [1, 10], "strategy": "hi_res"}
8080
responses:
8181
"200":
8282
application/json: [{"type": "Title", "element_id": "6aa0ff22f91bbe7e26e8e25ca8052acd", "text": "LayoutParser: A Unified Toolkit for Deep Learning Based Document Image Analysis", "metadata": {"languages": ["eng"], "page_number": 1, "filename": "layout-parser-paper.pdf", "filetype": "application/pdf"}}]
8383
"422":
84-
application/json: {"detail": "<value>"}
84+
application/json: {"detail": []}
8585
5XX:
8686
application/json: {"detail": "An error occurred"}

Diff for: .speakeasy/workflow.lock

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
speakeasyVersion: 1.394.0
1+
speakeasyVersion: 1.399.2
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:29b9f3ceed3f42448875bdc907c1c392968b754dba42e07b8f52cdc00ceec316
5+
sourceRevisionDigest: sha256:03b68d64a17742b04310ceeea73a5967ac4524bb8649f4b48051bf822defcbc3
66
sourceBlobDigest: sha256:65a229a99ea03f305aa2234ac0cde685feca207446d2860c6e3d4b8280ad81d0
77
tags:
88
- latest
@@ -11,9 +11,8 @@ targets:
1111
unstructured-python:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:29b9f3ceed3f42448875bdc907c1c392968b754dba42e07b8f52cdc00ceec316
14+
sourceRevisionDigest: sha256:03b68d64a17742b04310ceeea73a5967ac4524bb8649f4b48051bf822defcbc3
1515
sourceBlobDigest: sha256:65a229a99ea03f305aa2234ac0cde685feca207446d2860c6e3d4b8280ad81d0
16-
outLocation: /github/workspace/repo
1716
workflow:
1817
workflowVersion: 1.0.0
1918
speakeasyVersion: latest

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ res = s.general.partition(request=operations.PartitionRequest(
163163
partition_parameters=shared.PartitionParameters(
164164
files=shared.Files(
165165
content='0x2cC94b2FEF'.encode(),
166-
file_name='your_file_here',
166+
file_name='example.file',
167167
),
168168
chunking_strategy=shared.ChunkingStrategy.BY_TITLE,
169169
split_pdf_page_range=[
@@ -196,7 +196,7 @@ res = s.general.partition(request=operations.PartitionRequest(
196196
partition_parameters=shared.PartitionParameters(
197197
files=shared.Files(
198198
content='0x2cC94b2FEF'.encode(),
199-
file_name='your_file_here',
199+
file_name='example.file',
200200
),
201201
chunking_strategy=shared.ChunkingStrategy.BY_TITLE,
202202
split_pdf_page_range=[

Diff for: RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -675,4 +675,14 @@ Based on:
675675
### Generated
676676
- [python v0.25.8] .
677677
### Releases
678-
- [PyPI v0.25.8] https://pypi.org/project/unstructured-client/0.25.8 - .
678+
- [PyPI v0.25.8] https://pypi.org/project/unstructured-client/0.25.8 - .
679+
680+
## 2024-09-18 15:20:12
681+
### Changes
682+
Based on:
683+
- OpenAPI Doc
684+
- Speakeasy CLI 1.399.2 (2.416.6) https://github.com/speakeasy-api/speakeasy
685+
### Generated
686+
- [python v0.25.9] .
687+
### Releases
688+
- [PyPI v0.25.9] https://pypi.org/project/unstructured-client/0.25.9 - .

Diff for: USAGE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ res = s.general.partition(request=operations.PartitionRequest(
1010
partition_parameters=shared.PartitionParameters(
1111
files=shared.Files(
1212
content='0x2cC94b2FEF'.encode(),
13-
file_name='your_file_here',
13+
file_name='example.file',
1414
),
1515
chunking_strategy=shared.ChunkingStrategy.BY_TITLE,
1616
split_pdf_page_range=[

Diff for: codeSamples.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ actions:
1818
res = s.general.partition(request=operations.PartitionRequest(
1919
partition_parameters=shared.PartitionParameters(
2020
files=shared.Files(
21-
file_name='your_file_here',
21+
file_name='example.file',
2222
content='0x2cC94b2FEF'.encode(),
2323
),
2424
strategy=shared.Strategy.AUTO,

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------ | ------------------ | ------------------ | ------------------ |
8-
| `content` | *bytes* | :heavy_check_mark: | N/A |
9-
| `file_name` | *str* | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description | Example |
7+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `content` | *bytes* | :heavy_check_mark: | N/A | {<br/>"summary": "File to be partitioned",<br/>"externalValue": "https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf"<br/>} |
9+
| `file_name` | *str* | :heavy_check_mark: | N/A | {<br/>"summary": "File to be partitioned",<br/>"externalValue": "https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf"<br/>} |

Diff for: gen.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
python:
13-
version: 0.25.8
13+
version: 0.25.9
1414
additionalDependencies:
1515
dependencies:
16+
cryptography: '>=3.1'
1617
deepdiff: '>=6.0'
1718
httpx: '>=0.27.0'
1819
nest-asyncio: '>=1.6.0'
1920
pypdf: '>=4.0'
20-
cryptography: '>=3.1'
2121
requests-toolbelt: '>=1.0.0'
2222
extraDependencies:
2323
dev: {}

Diff for: setup.py

+2-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.8',
22+
version='0.25.9',
2323
author='Unstructured',
2424
description='Python Client SDK for Unstructured API',
2525
license = 'MIT',
@@ -30,6 +30,7 @@
3030
install_requires=[
3131
"certifi>=2023.7.22",
3232
"charset-normalizer>=3.2.0",
33+
"cryptography>=3.1",
3334
"dataclasses-json>=0.6.4",
3435
"deepdiff>=6.0",
3536
"httpx>=0.27.0",

Diff for: src/unstructured_client/sdkconfiguration.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ class SDKConfiguration:
3232
server: Optional[str] = ''
3333
language: str = 'python'
3434
openapi_doc_version: str = '1.0.48'
35-
sdk_version: str = '0.25.8'
36-
gen_version: str = '2.413.0'
37-
user_agent: str = 'speakeasy-sdk/python 0.25.8 2.413.0 1.0.48 unstructured-client'
35+
sdk_version: str = '0.25.9'
36+
gen_version: str = '2.416.6'
37+
user_agent: str = 'speakeasy-sdk/python 0.25.9 2.416.6 1.0.48 unstructured-client'
3838
retry_config: Optional[RetryConfig] = None
3939

4040
def __post_init__(self):

0 commit comments

Comments
 (0)