Skip to content

Commit

Permalink
chore: 🐝 Update SDK - Generate 0.30.4 (#230)
Browse files Browse the repository at this point in the history
> [!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]>
  • Loading branch information
3 people authored Feb 24, 2025
1 parent eb8f43b commit 3aa826f
Show file tree
Hide file tree
Showing 167 changed files with 6,117 additions and 207 deletions.
186 changes: 160 additions & 26 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.498.1
speakeasyVersion: 1.501.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:3a375218a87eae405feb875c8aae5606e30a806e429bb45a7bb9fe4ec3e93550
sourceBlobDigest: sha256:ee590e22c2420902e4013cdd462014c326a6be029ec482d38c24c55712280117
sourceRevisionDigest: sha256:aafca097133621c9d805647795672de6a443518d28ccff1ba4ad207084ada140
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
tags:
- latest
- speakeasy-sdk-regen-1740096591
- speakeasy-sdk-regen-1740182957
- 1.0.68
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:3a375218a87eae405feb875c8aae5606e30a806e429bb45a7bb9fe4ec3e93550
sourceBlobDigest: sha256:ee590e22c2420902e4013cdd462014c326a6be029ec482d38c24c55712280117
sourceRevisionDigest: sha256:aafca097133621c9d805647795672de6a443518d28ccff1ba4ad207084ada140
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:2206c744b2aa7e0220f3046c49f3b1c491aa4e7bdf5937abe000a7dc0ec65a51
codeSamplesRevisionDigest: sha256:45129928113c916a9525093bb2e25021b8e62477fa2b86de2af2dc369294a555
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
40 changes: 15 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,9 @@ with UnstructuredClient() as uc_client:
res = uc_client.destinations.create_destination(request={
"create_destination_connector": {
"config": {
"account_key": "azure_account_key",
"account_name": "azure_account_name",
"anonymous": False,
"recursive": True,
"remote_url": "az://<path></path></container-name>",
"endpoint": "<value>",
"index": "<value>",
"key": "<key>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.ASTRADB,
Expand Down Expand Up @@ -150,11 +148,9 @@ with UnstructuredClient(
res = uc_client.destinations.create_destination(request={
"create_destination_connector": {
"config": {
"account_key": "azure_account_key",
"account_name": "azure_account_name",
"anonymous": False,
"recursive": True,
"remote_url": "az://<path></path></container-name>",
"endpoint": "<value>",
"index": "<value>",
"key": "<key>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.ASTRADB,
Expand Down Expand Up @@ -204,11 +200,9 @@ with UnstructuredClient() as uc_client:
res = uc_client.destinations.create_destination(request={
"create_destination_connector": {
"config": {
"account_key": "azure_account_key",
"account_name": "azure_account_name",
"anonymous": False,
"recursive": True,
"remote_url": "az://<path></path></container-name>",
"endpoint": "<value>",
"index": "<value>",
"key": "<key>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.ASTRADB,
Expand Down Expand Up @@ -336,11 +330,9 @@ with UnstructuredClient() as uc_client:
res = uc_client.destinations.create_destination(request={
"create_destination_connector": {
"config": {
"account_key": "azure_account_key",
"account_name": "azure_account_name",
"anonymous": False,
"recursive": True,
"remote_url": "az://<path></path></container-name>",
"endpoint": "<value>",
"index": "<value>",
"key": "<key>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.ASTRADB,
Expand Down Expand Up @@ -368,11 +360,9 @@ async def main():
res = await uc_client.destinations.create_destination_async(request={
"create_destination_connector": {
"config": {
"account_key": "azure_account_key",
"account_name": "azure_account_name",
"anonymous": False,
"recursive": True,
"remote_url": "az://<path></path></container-name>",
"endpoint": "<value>",
"index": "<value>",
"key": "<key>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.ASTRADB,
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -804,4 +804,14 @@ Based on:
### Generated
- [python v0.30.3] .
### Releases
- [PyPI v0.30.3] https://pypi.org/project/unstructured-client/0.30.3 - .
- [PyPI v0.30.3] https://pypi.org/project/unstructured-client/0.30.3 - .

## 2025-02-24 00:09:35
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.501.0 (2.522.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.31.0] .
### Releases
- [PyPI v0.31.0] https://pypi.org/project/unstructured-client/0.31.0 - .
16 changes: 6 additions & 10 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ with UnstructuredClient() as uc_client:
res = uc_client.destinations.create_destination(request={
"create_destination_connector": {
"config": {
"account_key": "azure_account_key",
"account_name": "azure_account_name",
"anonymous": False,
"recursive": True,
"remote_url": "az://<path></path></container-name>",
"endpoint": "<value>",
"index": "<value>",
"key": "<key>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.ASTRADB,
Expand Down Expand Up @@ -41,11 +39,9 @@ async def main():
res = await uc_client.destinations.create_destination_async(request={
"create_destination_connector": {
"config": {
"account_key": "azure_account_key",
"account_name": "azure_account_name",
"anonymous": False,
"recursive": True,
"remote_url": "az://<path></path></container-name>",
"endpoint": "<value>",
"index": "<value>",
"key": "<key>",
},
"name": "<value>",
"type": shared.DestinationConnectorType.ASTRADB,
Expand Down
56 changes: 43 additions & 13 deletions _test_contract/platform_api/test_destinations.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
from unstructured_client import UnstructuredClient
from unstructured_client.models import shared, operations
from unstructured_client.models.errors import SDKError
from unstructured_client.models.shared import DestinationConnectorType



def test_list_destinations(
Expand All @@ -19,7 +17,14 @@ def test_list_destinations(
headers={"Content-Type": "application/json"},
json=[
{
"config": {},
"config": {
"remote_url": "s3://mock-s3-connector",
"anonymous": False,
"key": "**********",
"secret": "**********",
"token": None,
"endpoint_url": None,
},
"created_at": "2025-08-22T08:47:29.802Z",
"id": "0c363dec-3c70-45ee-8041-481044a6e1cc",
"name": "test_destination_name",
Expand All @@ -45,7 +50,7 @@ def test_list_destinations(
assert destination.id == "0c363dec-3c70-45ee-8041-481044a6e1cc"
assert destination.name == "test_destination_name"
assert destination.type == "s3"
assert destination.config == {}
assert isinstance(destination.config, shared.S3DestinationConnectorConfig)
assert destination.created_at == datetime.fromisoformat(
"2025-08-22T08:47:29.802+00:00"
)
Expand Down Expand Up @@ -115,7 +120,14 @@ def test_get_destination(httpx_mock, client: UnstructuredClient, platform_api_ur
method="GET",
headers={"Content-Type": "application/json"},
json={
"config": {},
"config": {
"remote_url": "s3://mock-s3-connector",
"anonymous": False,
"key": "**********",
"secret": "**********",
"token": None,
"endpoint_url": None,
},
"created_at": "2025-08-22T08:47:29.802Z",
"id": "0c363dec-3c70-45ee-8041-481044a6e1cc",
"name": "test_destination_name",
Expand All @@ -139,7 +151,7 @@ def test_get_destination(httpx_mock, client: UnstructuredClient, platform_api_ur
assert destination.id == "0c363dec-3c70-45ee-8041-481044a6e1cc"
assert destination.name == "test_destination_name"
assert destination.type == "s3"
assert destination.config == {}
assert isinstance(destination.config, shared.S3DestinationConnectorConfig)
assert destination.created_at == datetime.fromisoformat(
"2025-08-22T08:47:29.802+00:00"
)
Expand Down Expand Up @@ -178,7 +190,12 @@ def test_create_destination(
method="POST",
headers={"Content-Type": "application/json"},
json={
"config": {},
"config": {
"remote_url": "s3://mock-s3-connector",
"key": "blah",
"secret": "blah",
"anonymous": False,
},
"created_at": "2023-09-15T01:06:53.146Z",
"id": "b25d4161-77a0-4e08-b65e-86f398ce15ad",
"name": "test_destination_name",
Expand All @@ -191,8 +208,12 @@ def test_create_destination(
request=operations.CreateDestinationRequest(
create_destination_connector=shared.CreateDestinationConnector(
name="test_destination_name",
type=DestinationConnectorType.S3,
config={},
type=shared.DestinationConnectorType.S3,
config={
"remote_url": "s3://mock-s3-connector",
"key": "blah",
"secret": "blah",
},
)
)
)
Expand All @@ -208,7 +229,7 @@ def test_create_destination(
assert destination.id == "b25d4161-77a0-4e08-b65e-86f398ce15ad"
assert destination.name == "test_destination_name"
assert destination.type == "s3"
assert destination.config == {}
assert isinstance(destination.config, shared.S3DestinationConnectorConfig)
assert destination.created_at == datetime.fromisoformat(
"2023-09-15T01:06:53.146+00:00"
)
Expand All @@ -224,7 +245,12 @@ def test_update_destination(
method="PUT",
headers={"Content-Type": "application/json"},
json={
"config": {},
"config": {
"remote_url": "s3://mock-s3-connector",
"key": "blah",
"secret": "blah",
"anonymous": False,
},
"created_at": "2023-09-15T01:06:53.146Z",
"id": "b25d4161-77a0-4e08-b65e-86f398ce15ad",
"name": "test_destination_name",
Expand All @@ -237,7 +263,11 @@ def test_update_destination(
request=operations.UpdateDestinationRequest(
destination_id=dest_id,
update_destination_connector=shared.UpdateDestinationConnector(
config={}
config={
"remote_url": "s3://mock-s3-connector",
"key": "blah",
"secret": "blah",
},
),
)
)
Expand All @@ -254,7 +284,7 @@ def test_update_destination(
assert updated_destination.id == "b25d4161-77a0-4e08-b65e-86f398ce15ad"
assert updated_destination.name == "test_destination_name"
assert updated_destination.type == "s3"
assert updated_destination.config == {}
assert isinstance(updated_destination.config, shared.S3DestinationConnectorConfig)
assert updated_destination.created_at == datetime.fromisoformat(
"2023-09-15T01:06:53.146+00:00"
)
Expand Down
Loading

0 comments on commit 3aa826f

Please sign in to comment.