Skip to content

chore: 🐝 Update SDK - Generate 0.32.1 #256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 8b5fa338-9106-4734-abf0-e30d67044a90
management:
docChecksum: 82d55672df290a1b6b3641bf1c0385a0
docChecksum: f5acf2abe837ecf85e4549af6c864e95
docVersion: 1.1.4
speakeasyVersion: 1.526.0
generationVersion: 2.563.0
releaseVersion: 0.32.0
configChecksum: aaffd2f8109b46337a8b440562051f7a
speakeasyVersion: 1.528.1
generationVersion: 2.565.1
releaseVersion: 0.32.1
configChecksum: 0ee63f2ec67ee05b651d54a09c7c935e
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
Expand All @@ -16,7 +16,7 @@ features:
acceptHeaders: 3.0.0
additionalDependencies: 1.0.0
constsAndDefaults: 1.0.5
core: 5.12.4
core: 5.12.5
defaultEnabledRetries: 0.2.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.3.2
Expand All @@ -29,7 +29,7 @@ features:
multipartFileContentType: 1.0.0
nameOverrides: 3.0.1
nullables: 1.0.1
openEnums: 1.0.0
openEnums: 1.0.1
responseFormat: 1.0.1
retries: 3.0.2
sdkHooks: 1.0.1
Expand Down Expand Up @@ -90,6 +90,8 @@ generatedFiles:
- docs/models/shared/astradbconnectorconfiginput.md
- docs/models/shared/azureaisearchconnectorconfig.md
- docs/models/shared/azureaisearchconnectorconfiginput.md
- docs/models/shared/azuredestinationconnectorconfig.md
- docs/models/shared/azuredestinationconnectorconfiginput.md
- docs/models/shared/azuresourceconnectorconfig.md
- docs/models/shared/azuresourceconnectorconfiginput.md
- docs/models/shared/bodyrunworkflow.md
Expand Down Expand Up @@ -253,6 +255,8 @@ generatedFiles:
- src/unstructured_client/models/shared/astradbconnectorconfiginput.py
- src/unstructured_client/models/shared/azureaisearchconnectorconfig.py
- src/unstructured_client/models/shared/azureaisearchconnectorconfiginput.py
- src/unstructured_client/models/shared/azuredestinationconnectorconfig.py
- src/unstructured_client/models/shared/azuredestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/azuresourceconnectorconfig.py
- src/unstructured_client/models/shared/azuresourceconnectorconfiginput.py
- src/unstructured_client/models/shared/body_run_workflow.py
Expand Down
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.526.0
speakeasyVersion: 1.528.1
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:b7ee9aa59b47e0b739012e611720330b6870798eb256e44c15d0c55832dc1207
sourceBlobDigest: sha256:19ebaffb7c44a42ce3fbdf03cf5fe0f4a68956d59d6f3239d8b6a5b16e1c07e5
sourceRevisionDigest: sha256:3ef2e923ab2125c8a01080f5bdd566de7d8321ce4dd55741d5f73cefcd607c92
sourceBlobDigest: sha256:456351471925fa73f1e21cd9cf562192b638407448b3eebb995af1412def0801
tags:
- latest
- speakeasy-sdk-regen-1743188464
- speakeasy-sdk-regen-1743639002
- 1.1.4
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:b7ee9aa59b47e0b739012e611720330b6870798eb256e44c15d0c55832dc1207
sourceBlobDigest: sha256:19ebaffb7c44a42ce3fbdf03cf5fe0f4a68956d59d6f3239d8b6a5b16e1c07e5
sourceRevisionDigest: sha256:3ef2e923ab2125c8a01080f5bdd566de7d8321ce4dd55741d5f73cefcd607c92
sourceBlobDigest: sha256:456351471925fa73f1e21cd9cf562192b638407448b3eebb995af1412def0801
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:0696c1f0b1f0274a950cd103dd855cc721ada1716468d57138e7370f7f7e9ea4
codeSamplesRevisionDigest: sha256:fd9f7b1049617cfcfdd5f458b9291bc702426e0e8c17d4f39d6ce488857a06d4
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -915,4 +915,14 @@ Based on:
### Generated
- [python v0.32.0] .
### Releases
- [PyPI v0.32.0] https://pypi.org/project/unstructured-client/0.32.0 - .
- [PyPI v0.32.0] https://pypi.org/project/unstructured-client/0.32.0 - .

## 2025-04-03 00:09:46
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.528.1 (2.565.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.32.1] .
### Releases
- [PyPI v0.32.1] https://pypi.org/project/unstructured-client/0.32.1 - .
2 changes: 1 addition & 1 deletion codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ actions:
"x-codeSamples":
- "lang": "python"
"label": "create_destination"
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request={\n \"create_destination_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.DestinationConnectorType.AZURE_AI_SEARCH,\n \"config\": {\n \"collection_name\": \"<value>\",\n \"batch_size\": 20,\n \"api_endpoint\": \"<value>\",\n \"token\": \"<value>\",\n \"flatten_metadata\": False,\n },\n },\n })\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)"
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request={\n \"create_destination_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.DestinationConnectorType.ASTRADB,\n \"config\": {\n \"remote_url\": \"https://fortunate-appliance.info\",\n \"anonymous\": False,\n },\n },\n })\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)"
- target: $["paths"]["/api/v1/destinations/{destination_id}"]["delete"]
update:
"x-codeSamples":
Expand Down
12 changes: 12 additions & 0 deletions docs/models/shared/azuredestinationconnectorconfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AzureDestinationConnectorConfig


## Fields

| Field | Type | Required | Description |
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| `remote_url` | *str* | :heavy_check_mark: | N/A |
| `account_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `account_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `connection_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `sas_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
12 changes: 12 additions & 0 deletions docs/models/shared/azuredestinationconnectorconfiginput.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AzureDestinationConnectorConfigInput


## Fields

| Field | Type | Required | Description |
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| `remote_url` | *str* | :heavy_check_mark: | N/A |
| `account_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `account_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `connection_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `sas_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
6 changes: 6 additions & 0 deletions docs/models/shared/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

## Supported Types

### `shared.AzureDestinationConnectorConfigInput`

```python
value: shared.AzureDestinationConnectorConfigInput = /* values here */
```

### `shared.AstraDBConnectorConfigInput`

```python
Expand Down
6 changes: 6 additions & 0 deletions docs/models/shared/destinationconnectorinformationconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

## Supported Types

### `shared.AzureDestinationConnectorConfig`

```python
value: shared.AzureDestinationConnectorConfig = /* values here */
```

### `shared.AstraDBConnectorConfig`

```python
Expand Down
1 change: 1 addition & 0 deletions docs/models/shared/destinationconnectortype.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

| Name | Value |
| -------------------------------- | -------------------------------- |
| `AZURE` | azure |
| `ASTRADB` | astradb |
| `AZURE_AI_SEARCH` | azure_ai_search |
| `COUCHBASE` | couchbase |
Expand Down
6 changes: 6 additions & 0 deletions docs/models/shared/updatedestinationconnectorconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

## Supported Types

### `shared.AzureDestinationConnectorConfigInput`

```python
value: shared.AzureDestinationConnectorConfigInput = /* values here */
```

### `shared.AstraDBConnectorConfigInput`

```python
Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
python:
version: 0.32.0
version: 0.32.1
additionalDependencies:
dev:
deepdiff: '>=6.0'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "unstructured-client"
version = "0.32.0"
version = "0.32.1"
description = "Python Client SDK for Unstructured API"
authors = [{ name = "Unstructured" },]
readme = "README-PYPI.md"
Expand Down
6 changes: 3 additions & 3 deletions src/unstructured_client/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "unstructured-client"
__version__: str = "0.32.0"
__version__: str = "0.32.1"
__openapi_doc_version__: str = "1.1.4"
__gen_version__: str = "2.563.0"
__user_agent__: str = "speakeasy-sdk/python 0.32.0 2.563.0 1.1.4 unstructured-client"
__gen_version__: str = "2.565.1"
__user_agent__: str = "speakeasy-sdk/python 0.32.1 2.565.1 1.1.4 unstructured-client"

try:
if __package__ is not None:
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/models/operations/cancel_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/models/operations/create_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/models/operations/delete_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/models/operations/get_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/models/operations/get_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/models/operations/get_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/models/operations/list_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/models/operations/list_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/models/operations/partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/models/operations/run_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/models/operations/update_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def serialize_model(self, handler):

m = {}

for n, f in self.model_fields.items():
for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k)
serialized.pop(k, None)
Expand Down
Loading
Loading