Skip to content

Commit 8c01592

Browse files
github-actions[bot]speakeasybotawalker4
authored
chore: 🐝 Update SDK - Generate 0.42.0 (#302)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/5ee18d961db95d5e148e5948487d67a6> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/a853e3ed6b865395f7380b5640669991> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.595.0 (2.670.1) https://github.com/speakeasy-api/speakeasy ## Versioning Version Bump Type: [minor] - πŸ€– (automated) ## OpenAPI Change Summary ``` β”œβ”€β”¬Info β”‚ └──[πŸ”€] version (18:16) β”œβ”€β”¬Paths β”‚ β”œβ”€β”€[βž–] path (1:25967)❌ β”‚ └──[βž–] path (1:25193)❌ └─┬Components β”œβ”€β”€[βž–] schemas (1:50631)❌ └──[βž–] schemas (1:50177)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | info | 1 | 0 | | paths | 2 | 2 | | components | 2 | 2 | ## PYTHON CHANGELOG ## core: 5.19.5 - 2025-07-24 ### πŸ”§ Chores - make usage snippets parsable *(commit by [@ThomasRooney](https://github.com/ThomasRooney))* --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: Austin Walker <[email protected]> Co-authored-by: Austin Walker <[email protected]>
1 parent c41845c commit 8c01592

31 files changed

+656
-1117
lines changed

β€Ž.genignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ _test_unstructured_client
88
# ignore Makefile
99
Makefile
1010

11+
# No active endpoints in here, but we don't want to delete it
12+
# Hold onto the custom regions until these endpoints come back
13+
src/unstructured_client/users.py
14+
1115
# Ignore general.py so we can patch in our partitioning url
1216
# If we ever have a new endpoint under /general, we need to:
1317
# - Comment out this ignore line

β€Ž.speakeasy/gen.lock

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 8b5fa338-9106-4734-abf0-e30d67044a90
33
management:
4-
docChecksum: ae9cd2cec2edbde7b002c0a127c7aa84
5-
docVersion: 1.1.42
6-
speakeasyVersion: 1.589.0
7-
generationVersion: 2.664.0
8-
releaseVersion: 0.41.0
9-
configChecksum: b2d39b13446f595978a73e31a796dbe7
4+
docChecksum: 1e625384a184f21d27f5afa31f705ada
5+
docVersion: 1.1.45
6+
speakeasyVersion: 1.595.0
7+
generationVersion: 2.670.1
8+
releaseVersion: 0.42.0
9+
configChecksum: cd0ffde4496a99df26b7766acfe9c43d
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.4
19+
core: 5.19.5
2020
customCodeRegions: 0.1.1
2121
defaultEnabledRetries: 0.2.0
2222
enumUnions: 0.1.0
@@ -69,8 +69,6 @@ generatedFiles:
6969
- docs/models/operations/getconnectionchecksourcesresponse.md
7070
- docs/models/operations/getdestinationrequest.md
7171
- docs/models/operations/getdestinationresponse.md
72-
- docs/models/operations/getencryptioncertificaterequest.md
73-
- docs/models/operations/getencryptioncertificateresponse.md
7472
- docs/models/operations/getjobdetailsrequest.md
7573
- docs/models/operations/getjobdetailsresponse.md
7674
- docs/models/operations/getjobfailedfilesrequest.md
@@ -93,8 +91,6 @@ generatedFiles:
9391
- docs/models/operations/partitionresponse.md
9492
- docs/models/operations/runworkflowrequest.md
9593
- docs/models/operations/runworkflowresponse.md
96-
- docs/models/operations/storesecretrequest.md
97-
- docs/models/operations/storesecretresponse.md
9894
- docs/models/operations/updatedestinationrequest.md
9995
- docs/models/operations/updatedestinationresponse.md
10096
- docs/models/operations/updatesourcerequest.md
@@ -137,8 +133,6 @@ generatedFiles:
137133
- docs/models/shared/dropboxsourceconnectorconfiginput.md
138134
- docs/models/shared/elasticsearchconnectorconfig.md
139135
- docs/models/shared/elasticsearchconnectorconfiginput.md
140-
- docs/models/shared/encryptedsecret.md
141-
- docs/models/shared/encryptioncertificateresponse.md
142136
- docs/models/shared/encryptiontype.md
143137
- docs/models/shared/failedfile.md
144138
- docs/models/shared/files.md
@@ -236,7 +230,6 @@ generatedFiles:
236230
- docs/sdks/jobs/README.md
237231
- docs/sdks/sources/README.md
238232
- docs/sdks/unstructuredclient/README.md
239-
- docs/sdks/users/README.md
240233
- docs/sdks/workflows/README.md
241234
- poetry.toml
242235
- py.typed
@@ -275,7 +268,6 @@ generatedFiles:
275268
- src/unstructured_client/models/operations/get_connection_check_destinations.py
276269
- src/unstructured_client/models/operations/get_connection_check_sources.py
277270
- src/unstructured_client/models/operations/get_destination.py
278-
- src/unstructured_client/models/operations/get_encryption_certificate.py
279271
- src/unstructured_client/models/operations/get_job.py
280272
- src/unstructured_client/models/operations/get_job_details.py
281273
- src/unstructured_client/models/operations/get_job_failed_files.py
@@ -287,7 +279,6 @@ generatedFiles:
287279
- src/unstructured_client/models/operations/list_workflows.py
288280
- src/unstructured_client/models/operations/partition.py
289281
- src/unstructured_client/models/operations/run_workflow.py
290-
- src/unstructured_client/models/operations/store_secret.py
291282
- src/unstructured_client/models/operations/update_destination.py
292283
- src/unstructured_client/models/operations/update_source.py
293284
- src/unstructured_client/models/operations/update_workflow.py
@@ -325,8 +316,6 @@ generatedFiles:
325316
- src/unstructured_client/models/shared/dropboxsourceconnectorconfiginput.py
326317
- src/unstructured_client/models/shared/elasticsearchconnectorconfig.py
327318
- src/unstructured_client/models/shared/elasticsearchconnectorconfiginput.py
328-
- src/unstructured_client/models/shared/encryptedsecret.py
329-
- src/unstructured_client/models/shared/encryptioncertificateresponse.py
330319
- src/unstructured_client/models/shared/encryptiontype.py
331320
- src/unstructured_client/models/shared/failedfile.py
332321
- src/unstructured_client/models/shared/gcsdestinationconnectorconfig.py
@@ -410,7 +399,6 @@ generatedFiles:
410399
- src/unstructured_client/sources.py
411400
- src/unstructured_client/types/__init__.py
412401
- src/unstructured_client/types/basemodel.py
413-
- src/unstructured_client/users.py
414402
- src/unstructured_client/utils/__init__.py
415403
- src/unstructured_client/utils/annotations.py
416404
- src/unstructured_client/utils/datetimes.py

β€Ž.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.589.0
1+
speakeasyVersion: 1.595.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:dc1c7c974419187404b25cb443e0d2497aa8b3ab71c95f27054eb5cd87b02ed0
6-
sourceBlobDigest: sha256:538ee1e259eb1db25ba57b09ba271636bad0015a794517bf6f910315e7ecaac3
5+
sourceRevisionDigest: sha256:fbae2a3d20d8dc0210e15a73e96e96325b1f38e080c97a1f893a843cd0a723e8
6+
sourceBlobDigest: sha256:71012d02fdfa3ce10a9dd1b7152af158ad50029dca56ed47c15480e76d977261
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1753403247
10-
- 1.1.42
9+
- speakeasy-sdk-regen-1754007218
10+
- 1.1.45
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:dc1c7c974419187404b25cb443e0d2497aa8b3ab71c95f27054eb5cd87b02ed0
16-
sourceBlobDigest: sha256:538ee1e259eb1db25ba57b09ba271636bad0015a794517bf6f910315e7ecaac3
15+
sourceRevisionDigest: sha256:fbae2a3d20d8dc0210e15a73e96e96325b1f38e080c97a1f893a843cd0a723e8
16+
sourceBlobDigest: sha256:71012d02fdfa3ce10a9dd1b7152af158ad50029dca56ed47c15480e76d977261
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:1e8db4a01c54f1f99e27cc80d3f5283192aa2a6a68001f80424fbf9bdface495
18+
codeSamplesRevisionDigest: sha256:244db79d394b3d7a4e244006d91bdadeb850c019a9a7c5d80d3dc3550447019a
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽCHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
### Fixes
88
* Fix some environments failing to split pdfs with `Can't patch loop of type <class 'uvloop.Loop'>`, remove usage of `nest-asyncio`
9+
* Remove some operations under `client.users` that are not fully ready yet
910

1011
## 0.41.0
1112

β€ŽREADME.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ with UnstructuredClient() as uc_client:
213213

214214

215215
**Inherit from [`UnstructuredClientError`](./src/unstructured_client/models/errors/unstructuredclienterror.py)**:
216-
* [`ServerError`](./src/unstructured_client/models/errors/servererror.py): Server Error. Status code `5XX`. Applicable to 1 of 29 methods.*
216+
* [`ServerError`](./src/unstructured_client/models/errors/servererror.py): Server Error. Status code `5XX`. Applicable to 1 of 27 methods.*
217217
* [`ResponseValidationError`](./src/unstructured_client/models/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
218218

219219
</details>

β€ŽRELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,4 +1079,14 @@ Based on:
10791079
### Generated
10801080
- [python v0.41.0] .
10811081
### Releases
1082-
- [PyPI v0.41.0] https://pypi.org/project/unstructured-client/0.41.0 - .
1082+
- [PyPI v0.41.0] https://pypi.org/project/unstructured-client/0.41.0 - .
1083+
1084+
## 2025-08-01 00:13:22
1085+
### Changes
1086+
Based on:
1087+
- OpenAPI Doc
1088+
- Speakeasy CLI 1.595.0 (2.670.1) https://github.com/speakeasy-api/speakeasy
1089+
### Generated
1090+
- [python v0.42.0] .
1091+
### Releases
1092+
- [PyPI v0.42.0] https://pypi.org/project/unstructured-client/0.42.0 - .

β€Ž_test_unstructured_client/unit/test_encryption.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def rsa_key_pair():
3333

3434
return private_key_pem, public_key_pem
3535

36+
@pytest.mark.skip(reason="Encryption is not in the SDK yet")
3637
def test_encrypt_rsa(rsa_key_pair):
3738
private_key_pem, public_key_pem = rsa_key_pair
3839

@@ -55,6 +56,7 @@ def test_encrypt_rsa(rsa_key_pair):
5556
assert decrypted_text == plaintext
5657

5758

59+
@pytest.mark.skip(reason="Encryption is not in the SDK yet")
5860
def test_encrypt_rsa_aes(rsa_key_pair):
5961
private_key_pem, public_key_pem = rsa_key_pair
6062

@@ -80,6 +82,7 @@ def test_encrypt_rsa_aes(rsa_key_pair):
8082
rsa_key_size_bytes = 2048 // 8
8183
max_payload_size = rsa_key_size_bytes - 66 # OAEP SHA256 overhead
8284

85+
@pytest.mark.skip(reason="Encryption is not in the SDK yet")
8386
@pytest.mark.parametrize(("plaintext", "secret_type"), [
8487
("Short message", "rsa"),
8588
("A" * (max_payload_size), "rsa"), # Just at the RSA limit

β€ŽcodeSamples.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -123,18 +123,6 @@ actions:
123123
- "lang": "python"
124124
"label": "create_connection_check_sources"
125125
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.create_connection_check_sources(request={\n \"source_id\": \"8d49e3f2-3e6d-4973-bc61-292af66829d7\",\n })\n\n assert res.dag_node_connection_check is not None\n\n # Handle response\n print(res.dag_node_connection_check)"
126-
- target: $["paths"]["/api/v1/users/secrets"]["post"]
127-
update:
128-
"x-codeSamples":
129-
- "lang": "python"
130-
"label": "store_secret"
131-
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.users.store_secret(request={\n \"encrypted_secret\": {\n \"encrypted_value\": \"<value>\",\n },\n })\n\n assert res.secret_reference is not None\n\n # Handle response\n print(res.secret_reference)"
132-
- target: $["paths"]["/api/v1/users/secrets/encryption-certificate"]["get"]
133-
update:
134-
"x-codeSamples":
135-
- "lang": "python"
136-
"label": "get_encryption_certificate"
137-
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.users.get_encryption_certificate(request={})\n\n assert res.encryption_certificate_response is not None\n\n # Handle response\n print(res.encryption_certificate_response)"
138126
- target: $["paths"]["/api/v1/workflows/"]["get"]
139127
update:
140128
"x-codeSamples":

β€Ždocs/models/operations/getencryptioncertificaterequest.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

β€Ždocs/models/operations/getencryptioncertificateresponse.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
Β (0)