Skip to content

Commit 4f3e70c

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.503.0
1 parent 3aa826f commit 4f3e70c

File tree

17 files changed

+127
-63
lines changed

17 files changed

+127
-63
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: 622461ba121cc2a105e29eab97b6bee3
4+
docChecksum: eb050201e8bfff645042e3b2847104cc
55
docVersion: 1.0.68
6-
speakeasyVersion: 1.490.0
7-
generationVersion: 2.512.0
8-
releaseVersion: 0.30.4
9-
configChecksum: 87e53f0ca57296c4cae62d4792edc2cf
6+
speakeasyVersion: 1.503.0
7+
generationVersion: 2.526.1
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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.501.0
1+
speakeasyVersion: 1.503.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:aafca097133621c9d805647795672de6a443518d28ccff1ba4ad207084ada140
5+
sourceRevisionDigest: sha256:4f63229dca06781c54905bcb9c2769ef714dccbd7b347d72ed6b9c0a57f768f9
66
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740182957
9+
- speakeasy-sdk-regen-1740499439
1010
- 1.0.68
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:aafca097133621c9d805647795672de6a443518d28ccff1ba4ad207084ada140
15+
sourceRevisionDigest: sha256:4f63229dca06781c54905bcb9c2769ef714dccbd7b347d72ed6b9c0a57f768f9
1616
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:45129928113c916a9525093bb2e25021b8e62477fa2b86de2af2dc369294a555
18+
codeSamplesRevisionDigest: sha256:c7f49ae4ef636cb4f1f872f62dbec7312d7cff92d59e1de774428843f0474b91
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ 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+
with UnstructuredClient(
117+
server_url="https://api.example.com",
118+
) as uc_client:
117119

118120
res = uc_client.destinations.create_destination(request={
119121
"create_destination_connector": {
@@ -142,6 +144,7 @@ from unstructured_client.models import shared
142144
from unstructured_client.utils import BackoffStrategy, RetryConfig
143145

144146
with UnstructuredClient(
147+
server_url="https://api.example.com",
145148
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
146149
) as uc_client:
147150

@@ -193,7 +196,9 @@ When custom error responses are specified for an operation, the SDK may also rai
193196
from unstructured_client import UnstructuredClient
194197
from unstructured_client.models import errors, shared
195198

196-
with UnstructuredClient() as uc_client:
199+
with UnstructuredClient(
200+
server_url="https://api.example.com",
201+
) as uc_client:
197202
res = None
198203
try:
199204

@@ -325,7 +330,9 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
325330
from unstructured_client import UnstructuredClient
326331
from unstructured_client.models import shared
327332

328-
with UnstructuredClient() as uc_client:
333+
with UnstructuredClient(
334+
server_url="https://api.example.com",
335+
) as uc_client:
329336

330337
res = uc_client.destinations.create_destination(request={
331338
"create_destination_connector": {
@@ -355,7 +362,9 @@ from unstructured_client import UnstructuredClient
355362
from unstructured_client.models import shared
356363

357364
async def main():
358-
async with UnstructuredClient() as uc_client:
365+
async with UnstructuredClient(
366+
server_url="https://api.example.com",
367+
) as uc_client:
359368

360369
res = await uc_client.destinations.create_destination_async(request={
361370
"create_destination_connector": {
@@ -450,7 +459,9 @@ Certain SDK methods accept file objects as part of a request body or multi-part
450459
```python
451460
from unstructured_client import UnstructuredClient
452461

453-
with UnstructuredClient() as uc_client:
462+
with UnstructuredClient(
463+
server_url="https://api.example.com",
464+
) as uc_client:
454465

455466
res = uc_client.general.partition(request={
456467
"partition_parameters": {
@@ -483,13 +494,17 @@ The `UnstructuredClient` class implements the context manager protocol and regis
483494
```python
484495
from unstructured_client import UnstructuredClient
485496
def main():
486-
with UnstructuredClient() as uc_client:
497+
with UnstructuredClient(
498+
server_url="https://api.example.com",
499+
) as uc_client:
487500
# Rest of application here...
488501

489502

490503
# Or when using async:
491504
async def amain():
492-
async with UnstructuredClient() as uc_client:
505+
async with UnstructuredClient(
506+
server_url="https://api.example.com",
507+
) as uc_client:
493508
# Rest of application here...
494509
```
495510
<!-- End Resource Management [resource-management] -->
@@ -505,7 +520,7 @@ from unstructured_client import UnstructuredClient
505520
import logging
506521

507522
logging.basicConfig(level=logging.DEBUG)
508-
s = UnstructuredClient(debug_logger=logging.getLogger("unstructured_client"))
523+
s = UnstructuredClient(server_url="https://example.com", debug_logger=logging.getLogger("unstructured_client"))
509524
```
510525
<!-- End Debugging [debug] -->
511526

RELEASES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,4 +814,14 @@ Based on:
814814
### Generated
815815
- [python v0.31.0] .
816816
### Releases
817+
- [PyPI v0.31.0] https://pypi.org/project/unstructured-client/0.31.0 - .
818+
819+
## 2025-02-25 16:03:43
820+
### Changes
821+
Based on:
822+
- OpenAPI Doc
823+
- Speakeasy CLI 1.503.0 (2.526.1) https://github.com/speakeasy-api/speakeasy
824+
### Generated
825+
- [python v0.31.0] .
826+
### Releases
817827
- [PyPI v0.31.0] https://pypi.org/project/unstructured-client/0.31.0 - .

USAGE.md

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

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

911
res = uc_client.destinations.create_destination(request={
1012
"create_destination_connector": {
@@ -34,7 +36,9 @@ from unstructured_client import UnstructuredClient
3436
from unstructured_client.models import shared
3537

3638
async def main():
37-
async with UnstructuredClient() as uc_client:
39+
async with UnstructuredClient(
40+
server_url="https://api.example.com",
41+
) as uc_client:
3842

3943
res = await uc_client.destinations.create_destination_async(request={
4044
"create_destination_connector": {

docs/sdks/destinations/README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ Create a new destination connector using the provided configuration and name.
2121
from unstructured_client import UnstructuredClient
2222
from unstructured_client.models import shared
2323

24-
with UnstructuredClient() as uc_client:
24+
with UnstructuredClient(
25+
server_url="https://api.example.com",
26+
) as uc_client:
2527

2628
res = uc_client.destinations.create_destination(request={
2729
"create_destination_connector": {
@@ -70,7 +72,9 @@ Delete a specific destination connector by its ID.
7072
```python
7173
from unstructured_client import UnstructuredClient
7274

73-
with UnstructuredClient() as uc_client:
75+
with UnstructuredClient(
76+
server_url="https://api.example.com",
77+
) as uc_client:
7478

7579
res = uc_client.destinations.delete_destination(request={
7680
"destination_id": "10a88d76-65fb-4c88-8488-9e7d272c6373",
@@ -111,7 +115,9 @@ Retrieve detailed information for a specific destination connector by its ID.
111115
```python
112116
from unstructured_client import UnstructuredClient
113117

114-
with UnstructuredClient() as uc_client:
118+
with UnstructuredClient(
119+
server_url="https://api.example.com",
120+
) as uc_client:
115121

116122
res = uc_client.destinations.get_destination(request={
117123
"destination_id": "41ba03fb-faa3-4e9e-8cfb-27f133c4198a",
@@ -152,7 +158,9 @@ Retrieve a list of available destination connectors.
152158
```python
153159
from unstructured_client import UnstructuredClient
154160

155-
with UnstructuredClient() as uc_client:
161+
with UnstructuredClient(
162+
server_url="https://api.example.com",
163+
) as uc_client:
156164

157165
res = uc_client.destinations.list_destinations(request={})
158166

@@ -191,7 +199,9 @@ Update the configuration of an existing destination connector.
191199
```python
192200
from unstructured_client import UnstructuredClient
193201

194-
with UnstructuredClient() as uc_client:
202+
with UnstructuredClient(
203+
server_url="https://api.example.com",
204+
) as uc_client:
195205

196206
res = uc_client.destinations.update_destination(request={
197207
"update_destination_connector": {

docs/sdks/general/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ Description
1616
```python
1717
from unstructured_client import UnstructuredClient
1818

19-
with UnstructuredClient() as uc_client:
19+
with UnstructuredClient(
20+
server_url="https://api.example.com",
21+
) as uc_client:
2022

2123
res = uc_client.general.partition(request={
2224
"partition_parameters": {

docs/sdks/jobs/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ Cancel the specified job.
1818
```python
1919
from unstructured_client import UnstructuredClient
2020

21-
with UnstructuredClient() as uc_client:
21+
with UnstructuredClient(
22+
server_url="https://api.example.com",
23+
) as uc_client:
2224

2325
res = uc_client.jobs.cancel_job(request={
2426
"job_id": "ec29bf67-0f30-4793-b5ee-8fc0da196032",
@@ -59,7 +61,9 @@ Retrieve detailed information for a specific job by its ID.
5961
```python
6062
from unstructured_client import UnstructuredClient
6163

62-
with UnstructuredClient() as uc_client:
64+
with UnstructuredClient(
65+
server_url="https://api.example.com",
66+
) as uc_client:
6367

6468
res = uc_client.jobs.get_job(request={
6569
"job_id": "6bb4cb72-a072-4398-9de3-194e59352a3c",
@@ -100,7 +104,9 @@ Retrieve a list of jobs with optional filtering by workflow ID or job status.
100104
```python
101105
from unstructured_client import UnstructuredClient
102106

103-
with UnstructuredClient() as uc_client:
107+
with UnstructuredClient(
108+
server_url="https://api.example.com",
109+
) as uc_client:
104110

105111
res = uc_client.jobs.list_jobs(request={})
106112

docs/sdks/sources/README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ Create a new source connector using the provided configuration and name.
2121
from unstructured_client import UnstructuredClient
2222
from unstructured_client.models import shared
2323

24-
with UnstructuredClient() as uc_client:
24+
with UnstructuredClient(
25+
server_url="https://api.example.com",
26+
) as uc_client:
2527

2628
res = uc_client.sources.create_source(request={
2729
"create_source_connector": {
@@ -75,7 +77,9 @@ Delete a specific source connector identified by its ID.
7577
```python
7678
from unstructured_client import UnstructuredClient
7779

78-
with UnstructuredClient() as uc_client:
80+
with UnstructuredClient(
81+
server_url="https://api.example.com",
82+
) as uc_client:
7983

8084
res = uc_client.sources.delete_source(request={
8185
"source_id": "8a24d7ae-5524-45e9-83f9-b0adba5303d4",
@@ -116,7 +120,9 @@ Retrieve detailed information for a specific source connector by its ID.
116120
```python
117121
from unstructured_client import UnstructuredClient
118122

119-
with UnstructuredClient() as uc_client:
123+
with UnstructuredClient(
124+
server_url="https://api.example.com",
125+
) as uc_client:
120126

121127
res = uc_client.sources.get_source(request={
122128
"source_id": "e02d8147-b614-4e4c-9c6d-0cd9c4492ea0",
@@ -157,7 +163,9 @@ Retrieve a list of available source connectors.
157163
```python
158164
from unstructured_client import UnstructuredClient
159165

160-
with UnstructuredClient() as uc_client:
166+
with UnstructuredClient(
167+
server_url="https://api.example.com",
168+
) as uc_client:
161169

162170
res = uc_client.sources.list_sources(request={})
163171

@@ -196,7 +204,9 @@ Update the configuration of an existing source connector.
196204
```python
197205
from unstructured_client import UnstructuredClient
198206

199-
with UnstructuredClient() as uc_client:
207+
with UnstructuredClient(
208+
server_url="https://api.example.com",
209+
) as uc_client:
200210

201211
res = uc_client.sources.update_source(request={
202212
"update_source_connector": {

0 commit comments

Comments
 (0)