Skip to content

Commit 1090adc

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.501.0
1 parent eb8f43b commit 1090adc

File tree

167 files changed

+6103
-220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+6103
-220
lines changed

.speakeasy/gen.lock

Lines changed: 161 additions & 27 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.498.1
1+
speakeasyVersion: 1.501.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:3a375218a87eae405feb875c8aae5606e30a806e429bb45a7bb9fe4ec3e93550
6-
sourceBlobDigest: sha256:ee590e22c2420902e4013cdd462014c326a6be029ec482d38c24c55712280117
5+
sourceRevisionDigest: sha256:aafca097133621c9d805647795672de6a443518d28ccff1ba4ad207084ada140
6+
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740096591
9+
- speakeasy-sdk-regen-1740182957
1010
- 1.0.68
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:3a375218a87eae405feb875c8aae5606e30a806e429bb45a7bb9fe4ec3e93550
16-
sourceBlobDigest: sha256:ee590e22c2420902e4013cdd462014c326a6be029ec482d38c24c55712280117
15+
sourceRevisionDigest: sha256:aafca097133621c9d805647795672de6a443518d28ccff1ba4ad207084ada140
16+
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:2206c744b2aa7e0220f3046c49f3b1c491aa4e7bdf5937abe000a7dc0ec65a51
18+
codeSamplesRevisionDigest: sha256:45129928113c916a9525093bb2e25021b8e62477fa2b86de2af2dc369294a555
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,16 @@ 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": {
120122
"config": {
121-
"account_key": "azure_account_key",
122-
"account_name": "azure_account_name",
123-
"anonymous": False,
124-
"recursive": True,
125-
"remote_url": "az://<path></path></container-name>",
123+
"endpoint": "<value>",
124+
"index": "<value>",
125+
"key": "<key>",
126126
},
127127
"name": "<value>",
128128
"type": shared.DestinationConnectorType.ASTRADB,
@@ -144,17 +144,16 @@ from unstructured_client.models import shared
144144
from unstructured_client.utils import BackoffStrategy, RetryConfig
145145

146146
with UnstructuredClient(
147+
server_url="https://api.example.com",
147148
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
148149
) as uc_client:
149150

150151
res = uc_client.destinations.create_destination(request={
151152
"create_destination_connector": {
152153
"config": {
153-
"account_key": "azure_account_key",
154-
"account_name": "azure_account_name",
155-
"anonymous": False,
156-
"recursive": True,
157-
"remote_url": "az://<path></path></container-name>",
154+
"endpoint": "<value>",
155+
"index": "<value>",
156+
"key": "<key>",
158157
},
159158
"name": "<value>",
160159
"type": shared.DestinationConnectorType.ASTRADB,
@@ -197,18 +196,18 @@ When custom error responses are specified for an operation, the SDK may also rai
197196
from unstructured_client import UnstructuredClient
198197
from unstructured_client.models import errors, shared
199198

200-
with UnstructuredClient() as uc_client:
199+
with UnstructuredClient(
200+
server_url="https://api.example.com",
201+
) as uc_client:
201202
res = None
202203
try:
203204

204205
res = uc_client.destinations.create_destination(request={
205206
"create_destination_connector": {
206207
"config": {
207-
"account_key": "azure_account_key",
208-
"account_name": "azure_account_name",
209-
"anonymous": False,
210-
"recursive": True,
211-
"remote_url": "az://<path></path></container-name>",
208+
"endpoint": "<value>",
209+
"index": "<value>",
210+
"key": "<key>",
212211
},
213212
"name": "<value>",
214213
"type": shared.DestinationConnectorType.ASTRADB,
@@ -331,16 +330,16 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
331330
from unstructured_client import UnstructuredClient
332331
from unstructured_client.models import shared
333332

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

336337
res = uc_client.destinations.create_destination(request={
337338
"create_destination_connector": {
338339
"config": {
339-
"account_key": "azure_account_key",
340-
"account_name": "azure_account_name",
341-
"anonymous": False,
342-
"recursive": True,
343-
"remote_url": "az://<path></path></container-name>",
340+
"endpoint": "<value>",
341+
"index": "<value>",
342+
"key": "<key>",
344343
},
345344
"name": "<value>",
346345
"type": shared.DestinationConnectorType.ASTRADB,
@@ -363,16 +362,16 @@ from unstructured_client import UnstructuredClient
363362
from unstructured_client.models import shared
364363

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

368369
res = await uc_client.destinations.create_destination_async(request={
369370
"create_destination_connector": {
370371
"config": {
371-
"account_key": "azure_account_key",
372-
"account_name": "azure_account_name",
373-
"anonymous": False,
374-
"recursive": True,
375-
"remote_url": "az://<path></path></container-name>",
372+
"endpoint": "<value>",
373+
"index": "<value>",
374+
"key": "<key>",
376375
},
377376
"name": "<value>",
378377
"type": shared.DestinationConnectorType.ASTRADB,
@@ -460,7 +459,9 @@ Certain SDK methods accept file objects as part of a request body or multi-part
460459
```python
461460
from unstructured_client import UnstructuredClient
462461

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

465466
res = uc_client.general.partition(request={
466467
"partition_parameters": {
@@ -493,13 +494,17 @@ The `UnstructuredClient` class implements the context manager protocol and regis
493494
```python
494495
from unstructured_client import UnstructuredClient
495496
def main():
496-
with UnstructuredClient() as uc_client:
497+
with UnstructuredClient(
498+
server_url="https://api.example.com",
499+
) as uc_client:
497500
# Rest of application here...
498501

499502

500503
# Or when using async:
501504
async def amain():
502-
async with UnstructuredClient() as uc_client:
505+
async with UnstructuredClient(
506+
server_url="https://api.example.com",
507+
) as uc_client:
503508
# Rest of application here...
504509
```
505510
<!-- End Resource Management [resource-management] -->
@@ -515,7 +520,7 @@ from unstructured_client import UnstructuredClient
515520
import logging
516521

517522
logging.basicConfig(level=logging.DEBUG)
518-
s = UnstructuredClient(debug_logger=logging.getLogger("unstructured_client"))
523+
s = UnstructuredClient(server_url="https://example.com", debug_logger=logging.getLogger("unstructured_client"))
519524
```
520525
<!-- End Debugging [debug] -->
521526

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,4 +804,14 @@ Based on:
804804
### Generated
805805
- [python v0.30.3] .
806806
### Releases
807-
- [PyPI v0.30.3] https://pypi.org/project/unstructured-client/0.30.3 - .
807+
- [PyPI v0.30.3] https://pypi.org/project/unstructured-client/0.30.3 - .
808+
809+
## 2025-02-22 00:09:01
810+
### Changes
811+
Based on:
812+
- OpenAPI Doc
813+
- Speakeasy CLI 1.501.0 (2.522.1) https://github.com/speakeasy-api/speakeasy
814+
### Generated
815+
- [python v0.31.0] .
816+
### Releases
817+
- [PyPI v0.31.0] https://pypi.org/project/unstructured-client/0.31.0 - .

USAGE.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
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": {
1113
"config": {
12-
"account_key": "azure_account_key",
13-
"account_name": "azure_account_name",
14-
"anonymous": False,
15-
"recursive": True,
16-
"remote_url": "az://<path></path></container-name>",
14+
"endpoint": "<value>",
15+
"index": "<value>",
16+
"key": "<key>",
1717
},
1818
"name": "<value>",
1919
"type": shared.DestinationConnectorType.ASTRADB,
@@ -36,16 +36,16 @@ from unstructured_client import UnstructuredClient
3636
from unstructured_client.models import shared
3737

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

4143
res = await uc_client.destinations.create_destination_async(request={
4244
"create_destination_connector": {
4345
"config": {
44-
"account_key": "azure_account_key",
45-
"account_name": "azure_account_name",
46-
"anonymous": False,
47-
"recursive": True,
48-
"remote_url": "az://<path></path></container-name>",
46+
"endpoint": "<value>",
47+
"index": "<value>",
48+
"key": "<key>",
4949
},
5050
"name": "<value>",
5151
"type": shared.DestinationConnectorType.ASTRADB,

0 commit comments

Comments
 (0)