Skip to content

Commit 13adfc8

Browse files
chore: 🐝 Update SDK - Generate 0.32.1 (#256)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/05044951b188e253fe6d514a926ea262> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/e1e43461aecb479403919ff67a3f64a8> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.528.1 (2.565.1) https://github.com/speakeasy-api/speakeasy ## Versioning Version Bump Type: [patch] - 🤖 (automated) ## OpenAPI Change Summary ``` └─┬Components ├──[➕] schemas (1791:47) ├──[➕] schemas (1734:42) ├─┬DestinationConnectorInformation │ └─┬config │ ├──[➕] anyOf (6052:45) │ ├─┬ANYOF │ │ └──[🔀] $ref (1735:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (1602:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (1688:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2199:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2863:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2690:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2948:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3190:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3242:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3705:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3905:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4040:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4087:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4173:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4464:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4521:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4788:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4731:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4923:17)❌ │ └─┬ANYOF │ └──[🔀] $ref (5354:17)❌ ├─┬UpdateDestinationConnector │ └─┬config │ ├──[➕] anyOf (6081:50) │ ├─┬ANYOF │ │ └──[🔀] $ref (1792:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (1641:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (1711:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2254:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2906:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2777:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2976:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3216:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3260:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3754:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3972:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4063:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4120:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4211:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4492:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4564:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4854:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4759:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4985:17)❌ │ └─┬ANYOF │ └──[🔀] $ref (5416:17)❌ ├─┬CreateDestinationConnector │ └─┬config │ ├──[➕] anyOf (6081:50) │ ├─┬ANYOF │ │ └──[🔀] $ref (1792:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (1641:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (1711:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2254:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2906:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2777:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (2976:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3216:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3260:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3754:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (3972:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4063:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4120:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4211:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4492:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4564:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4854:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4759:17)❌ │ ├─┬ANYOF │ │ └──[🔀] $ref (4985:17)❌ │ └─┬ANYOF │ └──[🔀] $ref (5416:17)❌ └─┬DestinationConnectorType └──[➕] enum (3118:11) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | components | 66 | 60 | ## PYTHON CHANGELOG ## openEnums: 1.0.1 - 2025-03-31 ### 🐛 Bug Fixes - Prevent pyright reports for OpenEnumMeta __call__ signature in Python 3.11 and later *(commit by [@bflad](https://github.com/bflad))* ## core: 5.12.5 - 2025-03-28 ### 🐛 Bug Fixes - Prevent Pydantic 2.11 deprecation warnings with model_fields usage in models *(commit by [@bflad](https://github.com/bflad))* Co-authored-by: speakeasybot <[email protected]>
1 parent 6ed4883 commit 13adfc8

File tree

90 files changed

+408
-136
lines changed

Some content is hidden

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

90 files changed

+408
-136
lines changed

.speakeasy/gen.lock

+11-7
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: 82d55672df290a1b6b3641bf1c0385a0
4+
docChecksum: f5acf2abe837ecf85e4549af6c864e95
55
docVersion: 1.1.4
6-
speakeasyVersion: 1.526.0
7-
generationVersion: 2.563.0
8-
releaseVersion: 0.32.0
9-
configChecksum: aaffd2f8109b46337a8b440562051f7a
6+
speakeasyVersion: 1.528.1
7+
generationVersion: 2.565.1
8+
releaseVersion: 0.32.1
9+
configChecksum: 0ee63f2ec67ee05b651d54a09c7c935e
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.12.4
19+
core: 5.12.5
2020
defaultEnabledRetries: 0.2.0
2121
enumUnions: 0.1.0
2222
envVarSecurityUsage: 0.3.2
@@ -29,7 +29,7 @@ features:
2929
multipartFileContentType: 1.0.0
3030
nameOverrides: 3.0.1
3131
nullables: 1.0.1
32-
openEnums: 1.0.0
32+
openEnums: 1.0.1
3333
responseFormat: 1.0.1
3434
retries: 3.0.2
3535
sdkHooks: 1.0.1
@@ -90,6 +90,8 @@ generatedFiles:
9090
- docs/models/shared/astradbconnectorconfiginput.md
9191
- docs/models/shared/azureaisearchconnectorconfig.md
9292
- docs/models/shared/azureaisearchconnectorconfiginput.md
93+
- docs/models/shared/azuredestinationconnectorconfig.md
94+
- docs/models/shared/azuredestinationconnectorconfiginput.md
9395
- docs/models/shared/azuresourceconnectorconfig.md
9496
- docs/models/shared/azuresourceconnectorconfiginput.md
9597
- docs/models/shared/bodyrunworkflow.md
@@ -253,6 +255,8 @@ generatedFiles:
253255
- src/unstructured_client/models/shared/astradbconnectorconfiginput.py
254256
- src/unstructured_client/models/shared/azureaisearchconnectorconfig.py
255257
- src/unstructured_client/models/shared/azureaisearchconnectorconfiginput.py
258+
- src/unstructured_client/models/shared/azuredestinationconnectorconfig.py
259+
- src/unstructured_client/models/shared/azuredestinationconnectorconfiginput.py
256260
- src/unstructured_client/models/shared/azuresourceconnectorconfig.py
257261
- src/unstructured_client/models/shared/azuresourceconnectorconfiginput.py
258262
- src/unstructured_client/models/shared/body_run_workflow.py

.speakeasy/workflow.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.526.0
1+
speakeasyVersion: 1.528.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:b7ee9aa59b47e0b739012e611720330b6870798eb256e44c15d0c55832dc1207
6-
sourceBlobDigest: sha256:19ebaffb7c44a42ce3fbdf03cf5fe0f4a68956d59d6f3239d8b6a5b16e1c07e5
5+
sourceRevisionDigest: sha256:3ef2e923ab2125c8a01080f5bdd566de7d8321ce4dd55741d5f73cefcd607c92
6+
sourceBlobDigest: sha256:456351471925fa73f1e21cd9cf562192b638407448b3eebb995af1412def0801
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1743188464
9+
- speakeasy-sdk-regen-1743639002
1010
- 1.1.4
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:b7ee9aa59b47e0b739012e611720330b6870798eb256e44c15d0c55832dc1207
16-
sourceBlobDigest: sha256:19ebaffb7c44a42ce3fbdf03cf5fe0f4a68956d59d6f3239d8b6a5b16e1c07e5
15+
sourceRevisionDigest: sha256:3ef2e923ab2125c8a01080f5bdd566de7d8321ce4dd55741d5f73cefcd607c92
16+
sourceBlobDigest: sha256:456351471925fa73f1e21cd9cf562192b638407448b3eebb995af1412def0801
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:0696c1f0b1f0274a950cd103dd855cc721ada1716468d57138e7370f7f7e9ea4
18+
codeSamplesRevisionDigest: sha256:fd9f7b1049617cfcfdd5f458b9291bc702426e0e8c17d4f39d6ce488857a06d4
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -915,4 +915,14 @@ Based on:
915915
### Generated
916916
- [python v0.32.0] .
917917
### Releases
918-
- [PyPI v0.32.0] https://pypi.org/project/unstructured-client/0.32.0 - .
918+
- [PyPI v0.32.0] https://pypi.org/project/unstructured-client/0.32.0 - .
919+
920+
## 2025-04-03 00:09:46
921+
### Changes
922+
Based on:
923+
- OpenAPI Doc
924+
- Speakeasy CLI 1.528.1 (2.565.1) https://github.com/speakeasy-api/speakeasy
925+
### Generated
926+
- [python v0.32.1] .
927+
### Releases
928+
- [PyPI v0.32.1] https://pypi.org/project/unstructured-client/0.32.1 - .

codeSamples.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ actions:
1414
"x-codeSamples":
1515
- "lang": "python"
1616
"label": "create_destination"
17-
"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)"
17+
"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)"
1818
- target: $["paths"]["/api/v1/destinations/{destination_id}"]["delete"]
1919
update:
2020
"x-codeSamples":
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AzureDestinationConnectorConfig
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
8+
| `remote_url` | *str* | :heavy_check_mark: | N/A |
9+
| `account_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
10+
| `account_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
11+
| `connection_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
12+
| `sas_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AzureDestinationConnectorConfigInput
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
8+
| `remote_url` | *str* | :heavy_check_mark: | N/A |
9+
| `account_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
10+
| `account_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
11+
| `connection_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
12+
| `sas_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

docs/models/shared/config.md

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
## Supported Types
55

6+
### `shared.AzureDestinationConnectorConfigInput`
7+
8+
```python
9+
value: shared.AzureDestinationConnectorConfigInput = /* values here */
10+
```
11+
612
### `shared.AstraDBConnectorConfigInput`
713

814
```python

docs/models/shared/destinationconnectorinformationconfig.md

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
## Supported Types
55

6+
### `shared.AzureDestinationConnectorConfig`
7+
8+
```python
9+
value: shared.AzureDestinationConnectorConfig = /* values here */
10+
```
11+
612
### `shared.AstraDBConnectorConfig`
713

814
```python

docs/models/shared/destinationconnectortype.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
| Name | Value |
77
| -------------------------------- | -------------------------------- |
8+
| `AZURE` | azure |
89
| `ASTRADB` | astradb |
910
| `AZURE_AI_SEARCH` | azure_ai_search |
1011
| `COUCHBASE` | couchbase |

docs/models/shared/updatedestinationconnectorconfig.md

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
## Supported Types
55

6+
### `shared.AzureDestinationConnectorConfigInput`
7+
8+
```python
9+
value: shared.AzureDestinationConnectorConfigInput = /* values here */
10+
```
11+
612
### `shared.AstraDBConnectorConfigInput`
713

814
```python

gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
oAuth2ClientCredentialsEnabled: false
1313
oAuth2PasswordEnabled: false
1414
python:
15-
version: 0.32.0
15+
version: 0.32.1
1616
additionalDependencies:
1717
dev:
1818
deepdiff: '>=6.0'

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "unstructured-client"
3-
version = "0.32.0"
3+
version = "0.32.1"
44
description = "Python Client SDK for Unstructured API"
55
authors = [{ name = "Unstructured" },]
66
readme = "README-PYPI.md"

src/unstructured_client/_version.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "unstructured-client"
6-
__version__: str = "0.32.0"
6+
__version__: str = "0.32.1"
77
__openapi_doc_version__: str = "1.1.4"
8-
__gen_version__: str = "2.563.0"
9-
__user_agent__: str = "speakeasy-sdk/python 0.32.0 2.563.0 1.1.4 unstructured-client"
8+
__gen_version__: str = "2.565.1"
9+
__user_agent__: str = "speakeasy-sdk/python 0.32.1 2.565.1 1.1.4 unstructured-client"
1010

1111
try:
1212
if __package__ is not None:

src/unstructured_client/models/operations/cancel_job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def serialize_model(self, handler):
4949

5050
m = {}
5151

52-
for n, f in self.model_fields.items():
52+
for n, f in type(self).model_fields.items():
5353
k = f.alias or n
5454
val = serialized.get(k)
5555
serialized.pop(k, None)

src/unstructured_client/models/operations/create_destination.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def serialize_model(self, handler):
5656

5757
m = {}
5858

59-
for n, f in self.model_fields.items():
59+
for n, f in type(self).model_fields.items():
6060
k = f.alias or n
6161
val = serialized.get(k)
6262
serialized.pop(k, None)

src/unstructured_client/models/operations/create_source.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def serialize_model(self, handler):
5454

5555
m = {}
5656

57-
for n, f in self.model_fields.items():
57+
for n, f in type(self).model_fields.items():
5858
k = f.alias or n
5959
val = serialized.get(k)
6060
serialized.pop(k, None)

src/unstructured_client/models/operations/create_workflow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def serialize_model(self, handler):
5454

5555
m = {}
5656

57-
for n, f in self.model_fields.items():
57+
for n, f in type(self).model_fields.items():
5858
k = f.alias or n
5959
val = serialized.get(k)
6060
serialized.pop(k, None)

src/unstructured_client/models/operations/delete_destination.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def serialize_model(self, handler):
4949

5050
m = {}
5151

52-
for n, f in self.model_fields.items():
52+
for n, f in type(self).model_fields.items():
5353
k = f.alias or n
5454
val = serialized.get(k)
5555
serialized.pop(k, None)

src/unstructured_client/models/operations/delete_source.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def serialize_model(self, handler):
4949

5050
m = {}
5151

52-
for n, f in self.model_fields.items():
52+
for n, f in type(self).model_fields.items():
5353
k = f.alias or n
5454
val = serialized.get(k)
5555
serialized.pop(k, None)

src/unstructured_client/models/operations/delete_workflow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def serialize_model(self, handler):
4949

5050
m = {}
5151

52-
for n, f in self.model_fields.items():
52+
for n, f in type(self).model_fields.items():
5353
k = f.alias or n
5454
val = serialized.get(k)
5555
serialized.pop(k, None)

src/unstructured_client/models/operations/download_job_output.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def serialize_model(self, handler):
6969

7070
m = {}
7171

72-
for n, f in self.model_fields.items():
72+
for n, f in type(self).model_fields.items():
7373
k = f.alias or n
7474
val = serialized.get(k)
7575
serialized.pop(k, None)

src/unstructured_client/models/operations/get_destination.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def serialize_model(self, handler):
5252

5353
m = {}
5454

55-
for n, f in self.model_fields.items():
55+
for n, f in type(self).model_fields.items():
5656
k = f.alias or n
5757
val = serialized.get(k)
5858
serialized.pop(k, None)

src/unstructured_client/models/operations/get_job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def serialize_model(self, handler):
5050

5151
m = {}
5252

53-
for n, f in self.model_fields.items():
53+
for n, f in type(self).model_fields.items():
5454
k = f.alias or n
5555
val = serialized.get(k)
5656
serialized.pop(k, None)

src/unstructured_client/models/operations/get_source.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def serialize_model(self, handler):
5252

5353
m = {}
5454

55-
for n, f in self.model_fields.items():
55+
for n, f in type(self).model_fields.items():
5656
k = f.alias or n
5757
val = serialized.get(k)
5858
serialized.pop(k, None)

src/unstructured_client/models/operations/get_workflow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def serialize_model(self, handler):
5252

5353
m = {}
5454

55-
for n, f in self.model_fields.items():
55+
for n, f in type(self).model_fields.items():
5656
k = f.alias or n
5757
val = serialized.get(k)
5858
serialized.pop(k, None)

src/unstructured_client/models/operations/list_destinations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def serialize_model(self, handler):
5656

5757
m = {}
5858

59-
for n, f in self.model_fields.items():
59+
for n, f in type(self).model_fields.items():
6060
k = f.alias or n
6161
val = serialized.get(k)
6262
serialized.pop(k, None)

src/unstructured_client/models/operations/list_jobs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def serialize_model(self, handler):
5757

5858
m = {}
5959

60-
for n, f in self.model_fields.items():
60+
for n, f in type(self).model_fields.items():
6161
k = f.alias or n
6262
val = serialized.get(k)
6363
serialized.pop(k, None)

src/unstructured_client/models/operations/list_sources.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def serialize_model(self, handler):
5454

5555
m = {}
5656

57-
for n, f in self.model_fields.items():
57+
for n, f in type(self).model_fields.items():
5858
k = f.alias or n
5959
val = serialized.get(k)
6060
serialized.pop(k, None)

src/unstructured_client/models/operations/list_workflows.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def serialize_model(self, handler):
7676

7777
m = {}
7878

79-
for n, f in self.model_fields.items():
79+
for n, f in type(self).model_fields.items():
8080
k = f.alias or n
8181
val = serialized.get(k)
8282
serialized.pop(k, None)

src/unstructured_client/models/operations/partition.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def serialize_model(self, handler):
6161

6262
m = {}
6363

64-
for n, f in self.model_fields.items():
64+
for n, f in type(self).model_fields.items():
6565
k = f.alias or n
6666
val = serialized.get(k)
6767
serialized.pop(k, None)

src/unstructured_client/models/operations/run_workflow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def serialize_model(self, handler):
6464

6565
m = {}
6666

67-
for n, f in self.model_fields.items():
67+
for n, f in type(self).model_fields.items():
6868
k = f.alias or n
6969
val = serialized.get(k)
7070
serialized.pop(k, None)

src/unstructured_client/models/operations/update_destination.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def serialize_model(self, handler):
6666

6767
m = {}
6868

69-
for n, f in self.model_fields.items():
69+
for n, f in type(self).model_fields.items():
7070
k = f.alias or n
7171
val = serialized.get(k)
7272
serialized.pop(k, None)

src/unstructured_client/models/operations/update_source.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def serialize_model(self, handler):
6464

6565
m = {}
6666

67-
for n, f in self.model_fields.items():
67+
for n, f in type(self).model_fields.items():
6868
k = f.alias or n
6969
val = serialized.get(k)
7070
serialized.pop(k, None)

0 commit comments

Comments
 (0)