Skip to content

Commit 9bc86b4

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.505.0
1 parent b80efbf commit 9bc86b4

File tree

20 files changed

+214
-92
lines changed

20 files changed

+214
-92
lines changed

.speakeasy/gen.lock

Lines changed: 8 additions & 8 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: 0f9100e28d13105be2af4e576ea4572c
4+
docChecksum: c20df03926ecb29814c3c1c36c99ddae
55
docVersion: 1.0.68
6-
speakeasyVersion: 1.490.0
7-
generationVersion: 2.512.0
8-
releaseVersion: 0.30.5
9-
configChecksum: 25a75f7add3305b685de164ad454cb9a
6+
speakeasyVersion: 1.505.0
7+
generationVersion: 2.531.0
8+
releaseVersion: 0.31.0
9+
configChecksum: faf5191e78f1597b78cd7600af4f1d96
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.11.0
19+
core: 5.12.1
2020
defaultEnabledRetries: 0.2.0
2121
enumUnions: 0.1.0
2222
envVarSecurityUsage: 0.3.2
@@ -27,11 +27,11 @@ features:
2727
methodServerURLs: 3.1.1
2828
multipartFileContentType: 1.0.0
2929
nameOverrides: 3.0.1
30-
nullables: 1.0.0
30+
nullables: 1.0.1
3131
openEnums: 1.0.0
3232
responseFormat: 1.0.1
3333
retries: 3.0.2
34-
sdkHooks: 1.0.0
34+
sdkHooks: 1.0.1
3535
serverIDs: 3.0.0
3636
unions: 3.0.4
3737
uploadStreams: 1.0.0

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.504.1
1+
speakeasyVersion: 1.505.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:4f63229dca06781c54905bcb9c2769ef714dccbd7b347d72ed6b9c0a57f768f9
6-
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
5+
sourceRevisionDigest: sha256:8cba0cf748e247efccefbb5d1839dbeb6e2e3210bb2c90f7b75b9034c22ae24a
6+
sourceBlobDigest: sha256:69fef8ed681f1d68013e71f67927821d64fc1045d3956ace3775fe62ed76b8bb
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740499439
9+
- speakeasy-sdk-regen-1740605410
1010
- 1.0.68
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:4f63229dca06781c54905bcb9c2769ef714dccbd7b347d72ed6b9c0a57f768f9
16-
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
15+
sourceRevisionDigest: sha256:8cba0cf748e247efccefbb5d1839dbeb6e2e3210bb2c90f7b75b9034c22ae24a
16+
sourceBlobDigest: sha256:69fef8ed681f1d68013e71f67927821d64fc1045d3956ace3775fe62ed76b8bb
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:c7f49ae4ef636cb4f1f872f62dbec7312d7cff92d59e1de774428843f0474b91
18+
codeSamplesRevisionDigest: sha256:d7a20fe1c8d687f377099cdb412c6d0dd733dd982ec4662052df0894da211da2
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ from unstructured_client import UnstructuredClient
113113
from unstructured_client.models import shared
114114
from unstructured_client.utils import BackoffStrategy, RetryConfig
115115

116-
with UnstructuredClient() as uc_client:
116+
117+
with UnstructuredClient(
118+
server_url="https://api.example.com",
119+
) as uc_client:
117120

118121
res = uc_client.destinations.create_destination(request={
119122
"create_destination_connector": {
@@ -141,7 +144,9 @@ from unstructured_client import UnstructuredClient
141144
from unstructured_client.models import shared
142145
from unstructured_client.utils import BackoffStrategy, RetryConfig
143146

147+
144148
with UnstructuredClient(
149+
server_url="https://api.example.com",
145150
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
146151
) as uc_client:
147152

@@ -193,7 +198,10 @@ When custom error responses are specified for an operation, the SDK may also rai
193198
from unstructured_client import UnstructuredClient
194199
from unstructured_client.models import errors, shared
195200

196-
with UnstructuredClient() as uc_client:
201+
202+
with UnstructuredClient(
203+
server_url="https://api.example.com",
204+
) as uc_client:
197205
res = None
198206
try:
199207

@@ -325,7 +333,10 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
325333
from unstructured_client import UnstructuredClient
326334
from unstructured_client.models import shared
327335

328-
with UnstructuredClient() as uc_client:
336+
337+
with UnstructuredClient(
338+
server_url="https://api.example.com",
339+
) as uc_client:
329340

330341
res = uc_client.destinations.create_destination(request={
331342
"create_destination_connector": {
@@ -355,7 +366,10 @@ from unstructured_client import UnstructuredClient
355366
from unstructured_client.models import shared
356367

357368
async def main():
358-
async with UnstructuredClient() as uc_client:
369+
370+
async with UnstructuredClient(
371+
server_url="https://api.example.com",
372+
) as uc_client:
359373

360374
res = await uc_client.destinations.create_destination_async(request={
361375
"create_destination_connector": {
@@ -450,7 +464,10 @@ Certain SDK methods accept file objects as part of a request body or multi-part
450464
```python
451465
from unstructured_client import UnstructuredClient
452466

453-
with UnstructuredClient() as uc_client:
467+
468+
with UnstructuredClient(
469+
server_url="https://api.example.com",
470+
) as uc_client:
454471

455472
res = uc_client.general.partition(request={
456473
"partition_parameters": {
@@ -483,13 +500,19 @@ The `UnstructuredClient` class implements the context manager protocol and regis
483500
```python
484501
from unstructured_client import UnstructuredClient
485502
def main():
486-
with UnstructuredClient() as uc_client:
503+
504+
with UnstructuredClient(
505+
server_url="https://api.example.com",
506+
) as uc_client:
487507
# Rest of application here...
488508

489509

490510
# Or when using async:
491511
async def amain():
492-
async with UnstructuredClient() as uc_client:
512+
513+
async with UnstructuredClient(
514+
server_url="https://api.example.com",
515+
) as uc_client:
493516
# Rest of application here...
494517
```
495518
<!-- End Resource Management [resource-management] -->
@@ -505,7 +528,7 @@ from unstructured_client import UnstructuredClient
505528
import logging
506529

507530
logging.basicConfig(level=logging.DEBUG)
508-
s = UnstructuredClient(debug_logger=logging.getLogger("unstructured_client"))
531+
s = UnstructuredClient(server_url="https://example.com", debug_logger=logging.getLogger("unstructured_client"))
509532
```
510533
<!-- End Debugging [debug] -->
511534

RELEASES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,4 +824,14 @@ Based on:
824824
### Generated
825825
- [python v0.31.0] .
826826
### Releases
827+
- [PyPI v0.31.0] https://pypi.org/project/unstructured-client/0.31.0 - .
828+
829+
## 2025-02-26 21:29:54
830+
### Changes
831+
Based on:
832+
- OpenAPI Doc
833+
- Speakeasy CLI 1.505.0 (2.531.0) https://github.com/speakeasy-api/speakeasy
834+
### Generated
835+
- [python v0.31.0] .
836+
### Releases
827837
- [PyPI v0.31.0] https://pypi.org/project/unstructured-client/0.31.0 - .

USAGE.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
from unstructured_client import UnstructuredClient
55
from unstructured_client.models import shared
66

7-
with UnstructuredClient() as uc_client:
7+
8+
with UnstructuredClient(
9+
server_url="https://api.example.com",
10+
) as uc_client:
811

912
res = uc_client.destinations.create_destination(request={
1013
"create_destination_connector": {
@@ -34,7 +37,10 @@ from unstructured_client import UnstructuredClient
3437
from unstructured_client.models import shared
3538

3639
async def main():
37-
async with UnstructuredClient() as uc_client:
40+
41+
async with UnstructuredClient(
42+
server_url="https://api.example.com",
43+
) as uc_client:
3844

3945
res = await uc_client.destinations.create_destination_async(request={
4046
"create_destination_connector": {

0 commit comments

Comments
 (0)