Skip to content

Commit 3aa826f

Browse files
github-actions[bot]speakeasybotawalker4
authored
chore: 🐝 Update SDK - Generate 0.30.4 (#230)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/5513e9ec27b1d347e50eba3e43d8c6aa> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/3c5a41fd2952018be0a3dbb573961c21> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.501.0 (2.522.1) https://github.com/speakeasy-api/speakeasy ## Versioning Version Bump Type: [minor] - 🤖 (automated) ## OpenAPI Change Summary ``` └─┬Components ├──[➕] schemas (4403:42) ├──[➕] schemas (1997:41) ├──[➕] schemas (2950:48) ├──[➕] schemas (3213:47) ├──[➕] schemas (3550:50) ├──[➕] schemas (5181:50) ├──[➕] schemas (1689:42) ├──[➕] schemas (3846:50) ├──[➕] schemas (2057:46) ├──[➕] schemas (2398:55) ├──[➕] schemas (2832:40) ├──[➕] schemas (3445:42) ├──[➕] schemas (3946:42) ├──[➕] schemas (2786:39) ├──[➕] schemas (4700:46) ├──[➕] schemas (1580:39) ├──[➕] schemas (4482:46) ├──[➕] schemas (2579:41) ├──[➕] schemas (2892:40) ├──[➕] schemas (3399:33) ├──[➕] schemas (4545:51) ├──[➕] schemas (1887:46) ├──[➕] schemas (3113:52) ├──[➕] schemas (3675:39) ├──[➕] schemas (3803:45) ├──[➕] schemas (3917:53) ├──[➕] schemas (4081:39) ├──[➕] schemas (2551:36) ├──[➕] schemas (3478:47) ├──[➕] schemas (4629:41) ├──[➕] schemas (3512:45) ├──[➕] schemas (3632:45) ├──[➕] schemas (2348:50) ├──[➕] schemas (2869:35) ├──[➕] schemas (4143:44) ├──[➕] schemas (3064:47) ├──[➕] schemas (4442:47) ├──[➕] schemas (2916:43) ├──[➕] schemas (1627:37) ├──[➕] schemas (2762:44) ├──[➕] schemas (3589:40) ├──[➕] schemas (5152:45) ├──[➕] schemas (1603:44) ├──[➕] schemas (3164:42) ├──[➕] schemas (3739:44) ├──[➕] schemas (4012:47) ├──[➕] schemas (4273:39) ├──[➕] schemas (1819:47) ├──[➕] schemas (3264:43) ├──[➕] schemas (3889:48) ├──[➕] schemas (4372:47) ├──[➕] schemas (1499:33) ├──[➕] schemas (1538:38) ├──[➕] schemas (1752:42) ├──[➕] schemas (2739:39) ├──[➕] schemas (2850:45) ├──[➕] schemas (3331:48) ├──[➕] schemas (4206:34) ├──[➕] schemas (4341:42) ├──[➕] schemas (2809:44) ├──[➕] schemas (2508:48) ├──[➕] schemas (2465:43) ├──[➕] schemas (3422:38) ├──[➕] schemas (1942:51) ├─┬UpdateDestinationConnector │ └─┬config │ ├──[➖] examples (1:28586) │ ├──[➖] examples (1:28586) │ ├──[➖] examples (1:28586) │ ├──[➖] additionalProperties (1:28893)❌ │ ├──[➖] minProperties (1:28866)❌ │ ├──[➕] anyOf (2850:45) │ ├──[➕] anyOf (3917:53) │ ├──[➕] anyOf (2579:41) │ ├──[➕] anyOf (2508:48) │ ├──[➕] anyOf (3478:47) │ ├──[➕] anyOf (3113:52) │ ├──[➕] anyOf (3846:50) │ ├──[➕] anyOf (1942:51) │ ├──[➕] anyOf (3331:48) │ ├──[➕] anyOf (1603:44) │ ├──[➕] anyOf (4143:44) │ ├──[➕] anyOf (4012:47) │ ├──[➕] anyOf (3550:50) │ ├──[➕] anyOf (3422:38) │ ├──[➕] anyOf (1538:38) │ ├──[➕] anyOf (2809:44) │ ├──[➕] anyOf (2398:55) │ ├──[➕] anyOf (5181:50) │ └──[➕] anyOf (4545:51) ├─┬CreateDestinationConnector │ └─┬config │ ├──[➖] examples (1:21844) │ ├──[➖] examples (1:21844) │ ├──[➖] examples (1:21844) │ ├──[➖] additionalProperties (1:22151)❌ │ ├──[➖] minProperties (1:22124)❌ │ ├──[➕] anyOf (2850:45) │ ├──[➕] anyOf (3917:53) │ ├──[➕] anyOf (2579:41) │ ├──[➕] anyOf (2508:48) │ ├──[➕] anyOf (3478:47) │ ├──[➕] anyOf (3113:52) │ ├──[➕] anyOf (3846:50) │ ├──[➕] anyOf (1942:51) │ ├──[➕] anyOf (3331:48) │ ├──[➕] anyOf (1603:44) │ ├──[➕] anyOf (4143:44) │ ├──[➕] anyOf (4012:47) │ ├──[➕] anyOf (3550:50) │ ├──[➕] anyOf (3422:38) │ ├──[➕] anyOf (1538:38) │ ├──[➕] anyOf (2809:44) │ ├──[➕] anyOf (2398:55) │ ├──[➕] anyOf (5181:50) │ └──[➕] anyOf (4545:51) ├─┬SourceConnectorInformation │ └─┬config │ ├──[➖] examples (1:27271) │ ├──[➖] examples (1:27271) │ ├──[➖] examples (1:27271) │ ├──[➖] additionalProperties (1:27578)❌ │ ├──[➖] minProperties (1:27551)❌ │ ├──[➕] anyOf (1752:42) │ ├──[➕] anyOf (2465:43) │ ├──[➕] anyOf (3164:42) │ ├──[➕] anyOf (4341:42) │ ├──[➕] anyOf (2739:39) │ ├──[➕] anyOf (3589:40) │ ├──[➕] anyOf (3675:39) │ ├──[➕] anyOf (2786:39) │ ├──[➕] anyOf (3399:33) │ ├──[➕] anyOf (4629:41) │ ├──[➕] anyOf (4206:34) │ ├──[➕] anyOf (4403:42) │ ├──[➕] anyOf (2916:43) │ ├──[➕] anyOf (1997:41) │ ├──[➕] anyOf (2869:35) │ └──[➕] anyOf (1627:37) ├─┬UpdateSourceConnector │ └─┬config │ ├──[➖] examples (1:29367) │ ├──[➖] examples (1:29367) │ ├──[➖] examples (1:29367) │ ├──[➖] additionalProperties (1:29674)❌ │ ├──[➖] minProperties (1:29647)❌ │ ├──[➕] anyOf (4372:47) │ ├──[➕] anyOf (4442:47) │ ├──[➕] anyOf (2762:44) │ ├──[➕] anyOf (3739:44) │ ├──[➕] anyOf (3213:47) │ ├──[➕] anyOf (2508:48) │ ├──[➕] anyOf (4273:39) │ ├──[➕] anyOf (2950:48) │ ├──[➕] anyOf (4700:46) │ ├──[➕] anyOf (3632:45) │ ├──[➕] anyOf (2892:40) │ ├──[➕] anyOf (3422:38) │ ├──[➕] anyOf (1819:47) │ ├──[➕] anyOf (1689:42) │ ├──[➕] anyOf (2809:44) │ └──[➕] anyOf (2057:46) ├─┬UpdateWorkflow │ └──[➕] properties (5078:11) ├─┬WorkflowInformation │ ├──[➕] required (5292:11)❌ │ ├──[➖] required (1:31841)❌ │ └─┬workflow_nodes │ ├──[➕] items (5250:22)❌ │ ├──[➕] type (5249:21)❌ │ ├──[➖] anyOf (1:31364)❌ │ └──[➖] anyOf (1:31289)❌ ├─┬CreateSourceConnector │ └─┬config │ ├──[➖] examples (1:22748) │ ├──[➖] examples (1:22748) │ ├──[➖] examples (1:22748) │ ├──[➖] additionalProperties (1:23055)❌ │ ├──[➖] minProperties (1:23028)❌ │ ├──[➕] anyOf (4372:47) │ ├──[➕] anyOf (4442:47) │ ├──[➕] anyOf (2762:44) │ ├──[➕] anyOf (3739:44) │ ├──[➕] anyOf (3213:47) │ ├──[➕] anyOf (2508:48) │ ├──[➕] anyOf (4273:39) │ ├──[➕] anyOf (2950:48) │ ├──[➕] anyOf (4700:46) │ ├──[➕] anyOf (3632:45) │ ├──[➕] anyOf (2892:40) │ ├──[➕] anyOf (3422:38) │ ├──[➕] anyOf (1819:47) │ ├──[➕] anyOf (1689:42) │ ├──[➕] anyOf (2809:44) │ └──[➕] anyOf (2057:46) └─┬DestinationConnectorInformation └─┬config ├──[➖] examples (1:24727) ├──[➖] examples (1:24727) ├──[➖] examples (1:24727) ├──[➖] additionalProperties (1:25034)❌ ├──[➖] minProperties (1:25007)❌ ├──[➕] anyOf (2465:43) ├──[➕] anyOf (3264:43) ├──[➕] anyOf (5152:45) ├──[➕] anyOf (2551:36) ├──[➕] anyOf (3946:42) ├──[➕] anyOf (3445:42) ├──[➕] anyOf (3064:47) ├──[➕] anyOf (2786:39) ├──[➕] anyOf (3399:33) ├──[➕] anyOf (3512:45) ├──[➕] anyOf (3803:45) ├──[➕] anyOf (1887:46) ├──[➕] anyOf (3889:48) ├──[➕] anyOf (4482:46) ├──[➕] anyOf (2832:40) ├──[➕] anyOf (1499:33) ├──[➕] anyOf (4081:39) ├──[➕] anyOf (2348:50) └──[➕] anyOf (1580:39) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | components | 206 | 18 | ## PYTHON CHANGELOG ## core: 5.12.1 - 2025-02-21 ### 🐛 Bug Fixes - handle usage snippet templating when no servers are defined in the spec *(commit by [@vishalg0wda](https://github.com/vishalg0wda))* ## core: 5.12.0 - 2025-02-12 ### 🐝 New Features - support openapi specs without server urls *(commit by [@vishalg0wda](https://github.com/vishalg0wda))* --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: Austin Walker <[email protected]>
1 parent eb8f43b commit 3aa826f

File tree

167 files changed

+6117
-207
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

+6117
-207
lines changed

Diff for: .speakeasy/gen.lock

+160-26
Large diffs are not rendered by default.

Diff for: .speakeasy/workflow.lock

+7-7
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

Diff for: README.md

+15-25
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,9 @@ with UnstructuredClient() as uc_client:
118118
res = uc_client.destinations.create_destination(request={
119119
"create_destination_connector": {
120120
"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>",
121+
"endpoint": "<value>",
122+
"index": "<value>",
123+
"key": "<key>",
126124
},
127125
"name": "<value>",
128126
"type": shared.DestinationConnectorType.ASTRADB,
@@ -150,11 +148,9 @@ with UnstructuredClient(
150148
res = uc_client.destinations.create_destination(request={
151149
"create_destination_connector": {
152150
"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>",
151+
"endpoint": "<value>",
152+
"index": "<value>",
153+
"key": "<key>",
158154
},
159155
"name": "<value>",
160156
"type": shared.DestinationConnectorType.ASTRADB,
@@ -204,11 +200,9 @@ with UnstructuredClient() as uc_client:
204200
res = uc_client.destinations.create_destination(request={
205201
"create_destination_connector": {
206202
"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>",
203+
"endpoint": "<value>",
204+
"index": "<value>",
205+
"key": "<key>",
212206
},
213207
"name": "<value>",
214208
"type": shared.DestinationConnectorType.ASTRADB,
@@ -336,11 +330,9 @@ with UnstructuredClient() as uc_client:
336330
res = uc_client.destinations.create_destination(request={
337331
"create_destination_connector": {
338332
"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>",
333+
"endpoint": "<value>",
334+
"index": "<value>",
335+
"key": "<key>",
344336
},
345337
"name": "<value>",
346338
"type": shared.DestinationConnectorType.ASTRADB,
@@ -368,11 +360,9 @@ async def main():
368360
res = await uc_client.destinations.create_destination_async(request={
369361
"create_destination_connector": {
370362
"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>",
363+
"endpoint": "<value>",
364+
"index": "<value>",
365+
"key": "<key>",
376366
},
377367
"name": "<value>",
378368
"type": shared.DestinationConnectorType.ASTRADB,

Diff for: RELEASES.md

+11-1
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-24 00:09:35
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 - .

Diff for: USAGE.md

+6-10
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ with UnstructuredClient() as uc_client:
99
res = uc_client.destinations.create_destination(request={
1010
"create_destination_connector": {
1111
"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>",
12+
"endpoint": "<value>",
13+
"index": "<value>",
14+
"key": "<key>",
1715
},
1816
"name": "<value>",
1917
"type": shared.DestinationConnectorType.ASTRADB,
@@ -41,11 +39,9 @@ async def main():
4139
res = await uc_client.destinations.create_destination_async(request={
4240
"create_destination_connector": {
4341
"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>",
42+
"endpoint": "<value>",
43+
"index": "<value>",
44+
"key": "<key>",
4945
},
5046
"name": "<value>",
5147
"type": shared.DestinationConnectorType.ASTRADB,

Diff for: _test_contract/platform_api/test_destinations.py

+43-13
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
from unstructured_client import UnstructuredClient
66
from unstructured_client.models import shared, operations
77
from unstructured_client.models.errors import SDKError
8-
from unstructured_client.models.shared import DestinationConnectorType
9-
108

119

1210
def test_list_destinations(
@@ -19,7 +17,14 @@ def test_list_destinations(
1917
headers={"Content-Type": "application/json"},
2018
json=[
2119
{
22-
"config": {},
20+
"config": {
21+
"remote_url": "s3://mock-s3-connector",
22+
"anonymous": False,
23+
"key": "**********",
24+
"secret": "**********",
25+
"token": None,
26+
"endpoint_url": None,
27+
},
2328
"created_at": "2025-08-22T08:47:29.802Z",
2429
"id": "0c363dec-3c70-45ee-8041-481044a6e1cc",
2530
"name": "test_destination_name",
@@ -45,7 +50,7 @@ def test_list_destinations(
4550
assert destination.id == "0c363dec-3c70-45ee-8041-481044a6e1cc"
4651
assert destination.name == "test_destination_name"
4752
assert destination.type == "s3"
48-
assert destination.config == {}
53+
assert isinstance(destination.config, shared.S3DestinationConnectorConfig)
4954
assert destination.created_at == datetime.fromisoformat(
5055
"2025-08-22T08:47:29.802+00:00"
5156
)
@@ -115,7 +120,14 @@ def test_get_destination(httpx_mock, client: UnstructuredClient, platform_api_ur
115120
method="GET",
116121
headers={"Content-Type": "application/json"},
117122
json={
118-
"config": {},
123+
"config": {
124+
"remote_url": "s3://mock-s3-connector",
125+
"anonymous": False,
126+
"key": "**********",
127+
"secret": "**********",
128+
"token": None,
129+
"endpoint_url": None,
130+
},
119131
"created_at": "2025-08-22T08:47:29.802Z",
120132
"id": "0c363dec-3c70-45ee-8041-481044a6e1cc",
121133
"name": "test_destination_name",
@@ -139,7 +151,7 @@ def test_get_destination(httpx_mock, client: UnstructuredClient, platform_api_ur
139151
assert destination.id == "0c363dec-3c70-45ee-8041-481044a6e1cc"
140152
assert destination.name == "test_destination_name"
141153
assert destination.type == "s3"
142-
assert destination.config == {}
154+
assert isinstance(destination.config, shared.S3DestinationConnectorConfig)
143155
assert destination.created_at == datetime.fromisoformat(
144156
"2025-08-22T08:47:29.802+00:00"
145157
)
@@ -178,7 +190,12 @@ def test_create_destination(
178190
method="POST",
179191
headers={"Content-Type": "application/json"},
180192
json={
181-
"config": {},
193+
"config": {
194+
"remote_url": "s3://mock-s3-connector",
195+
"key": "blah",
196+
"secret": "blah",
197+
"anonymous": False,
198+
},
182199
"created_at": "2023-09-15T01:06:53.146Z",
183200
"id": "b25d4161-77a0-4e08-b65e-86f398ce15ad",
184201
"name": "test_destination_name",
@@ -191,8 +208,12 @@ def test_create_destination(
191208
request=operations.CreateDestinationRequest(
192209
create_destination_connector=shared.CreateDestinationConnector(
193210
name="test_destination_name",
194-
type=DestinationConnectorType.S3,
195-
config={},
211+
type=shared.DestinationConnectorType.S3,
212+
config={
213+
"remote_url": "s3://mock-s3-connector",
214+
"key": "blah",
215+
"secret": "blah",
216+
},
196217
)
197218
)
198219
)
@@ -208,7 +229,7 @@ def test_create_destination(
208229
assert destination.id == "b25d4161-77a0-4e08-b65e-86f398ce15ad"
209230
assert destination.name == "test_destination_name"
210231
assert destination.type == "s3"
211-
assert destination.config == {}
232+
assert isinstance(destination.config, shared.S3DestinationConnectorConfig)
212233
assert destination.created_at == datetime.fromisoformat(
213234
"2023-09-15T01:06:53.146+00:00"
214235
)
@@ -224,7 +245,12 @@ def test_update_destination(
224245
method="PUT",
225246
headers={"Content-Type": "application/json"},
226247
json={
227-
"config": {},
248+
"config": {
249+
"remote_url": "s3://mock-s3-connector",
250+
"key": "blah",
251+
"secret": "blah",
252+
"anonymous": False,
253+
},
228254
"created_at": "2023-09-15T01:06:53.146Z",
229255
"id": "b25d4161-77a0-4e08-b65e-86f398ce15ad",
230256
"name": "test_destination_name",
@@ -237,7 +263,11 @@ def test_update_destination(
237263
request=operations.UpdateDestinationRequest(
238264
destination_id=dest_id,
239265
update_destination_connector=shared.UpdateDestinationConnector(
240-
config={}
266+
config={
267+
"remote_url": "s3://mock-s3-connector",
268+
"key": "blah",
269+
"secret": "blah",
270+
},
241271
),
242272
)
243273
)
@@ -254,7 +284,7 @@ def test_update_destination(
254284
assert updated_destination.id == "b25d4161-77a0-4e08-b65e-86f398ce15ad"
255285
assert updated_destination.name == "test_destination_name"
256286
assert updated_destination.type == "s3"
257-
assert updated_destination.config == {}
287+
assert isinstance(updated_destination.config, shared.S3DestinationConnectorConfig)
258288
assert updated_destination.created_at == datetime.fromisoformat(
259289
"2023-09-15T01:06:53.146+00:00"
260290
)

0 commit comments

Comments
 (0)