Skip to content

Commit 08fe8ac

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.1, Speakeasy CLI 1.121.1
1 parent 49d037d commit 08fe8ac

File tree

14 files changed

+92
-20
lines changed

14 files changed

+92
-20
lines changed

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,4 +264,14 @@ Based on:
264264
### Generated
265265
- [python v0.14.1] .
266266
### Releases
267-
- [PyPI v0.14.1] https://pypi.org/project/unstructured-client/0.14.1 - .
267+
- [PyPI v0.14.1] https://pypi.org/project/unstructured-client/0.14.1 - .
268+
269+
## 2023-11-18 00:18:40
270+
### Changes
271+
Based on:
272+
- OpenAPI Doc 0.0.1
273+
- Speakeasy CLI 1.121.1 (2.194.1) https://github.com/speakeasy-api/speakeasy
274+
### Generated
275+
- [python v0.14.2] .
276+
### Releases
277+
- [PyPI v0.14.2] https://pypi.org/project/unstructured-client/0.14.2 - .

docs/models/errors/httpvalidationerror.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
| Field | Type | Required | Description |
77
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
8-
| `detail` | List[[errors.ValidationError](../../models/errors/validationerror.md)] | :heavy_minus_sign: | N/A |
8+
| `detail` | List[[shared.ValidationError](../../models/shared/validationerror.md)] | :heavy_minus_sign: | N/A |
File renamed without changes.

docs/models/errors/validationerror.md renamed to docs/models/shared/validationerror.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
| Field | Type | Required | Description |
77
| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- |
8-
| `loc` | List[[Union[str, int]](../../models/errors/loc.md)] | :heavy_check_mark: | N/A |
8+
| `loc` | List[[Union[str, int]](../../models/shared/loc.md)] | :heavy_check_mark: | N/A |
99
| `msg` | *str* | :heavy_check_mark: | N/A |
1010
| `type` | *str* | :heavy_check_mark: | N/A |

files.gen

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ src/unstructured_client/utils/__init__.py
88
src/unstructured_client/utils/retries.py
99
src/unstructured_client/utils/utils.py
1010
src/unstructured_client/models/errors/sdkerror.py
11+
tests/helpers.py
1112
src/unstructured_client/models/operations/partition.py
1213
src/unstructured_client/models/errors/httpvalidationerror.py
13-
src/unstructured_client/models/errors/validationerror.py
14+
src/unstructured_client/models/shared/validationerror.py
1415
src/unstructured_client/models/shared/partition_parameters.py
1516
src/unstructured_client/models/shared/security.py
1617
src/unstructured_client/models/__init__.py
@@ -20,8 +21,8 @@ src/unstructured_client/models/shared/__init__.py
2021
USAGE.md
2122
docs/models/operations/partitionresponse.md
2223
docs/models/errors/httpvalidationerror.md
23-
docs/models/errors/loc.md
24-
docs/models/errors/validationerror.md
24+
docs/models/shared/loc.md
25+
docs/models/shared/validationerror.md
2526
docs/models/shared/files.md
2627
docs/models/shared/partitionparameters.md
2728
docs/models/shared/security.md

gen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ configVersion: 1.0.0
22
management:
33
docChecksum: bf57420eebd40f2b1d166092f01e3927
44
docVersion: 0.0.1
5-
speakeasyVersion: 1.120.3
6-
generationVersion: 2.192.1
5+
speakeasyVersion: 1.121.1
6+
generationVersion: 2.194.1
77
generation:
88
comments: {}
99
sdkClassName: unstructured_client
@@ -15,12 +15,12 @@ features:
1515
core: 4.1.4
1616
examples: 2.81.3
1717
globalSecurity: 2.83.0
18-
globalServerURLs: 2.82.0
18+
globalServerURLs: 2.82.1
1919
nameOverrides: 2.81.1
2020
retries: 2.82.0
2121
serverIDs: 2.81.1
2222
python:
23-
version: 0.14.1
23+
version: 0.14.2
2424
author: Unstructured
2525
clientServerStatusCodesAsErrors: true
2626
description: Python Client SDK for Unstructured API

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="unstructured-client",
13-
version="0.14.1",
13+
version="0.14.2",
1414
author="Unstructured",
1515
description="Python Client SDK for Unstructured API",
1616
long_description=long_description,

src/unstructured_client/models/errors/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22

33
from .httpvalidationerror import *
44
from .sdkerror import *
5-
from .validationerror import *
65

7-
__all__ = ["HTTPValidationError","SDKError","ValidationError"]
6+
__all__ = ["HTTPValidationError","SDKError"]

src/unstructured_client/models/errors/httpvalidationerror.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44
import dataclasses
5-
from .validationerror import ValidationError
5+
from ...models.shared import validationerror as shared_validationerror
66
from dataclasses_json import Undefined, dataclass_json
77
from typing import List, Optional
88
from unstructured_client import utils
@@ -12,7 +12,7 @@
1212

1313
@dataclasses.dataclass
1414
class HTTPValidationError(Exception):
15-
detail: Optional[List[ValidationError]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('detail'), 'exclude': lambda f: f is None }})
15+
detail: Optional[List[shared_validationerror.ValidationError]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('detail'), 'exclude': lambda f: f is None }})
1616

1717

1818
def __str__(self) -> str:

src/unstructured_client/models/shared/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
from .partition_parameters import *
44
from .security import *
5+
from .validationerror import *
56

6-
__all__ = ["Files","PartitionParameters","Security"]
7+
__all__ = ["Files","PartitionParameters","Security","ValidationError"]

0 commit comments

Comments
 (0)