Skip to content

Commit 7e92477

Browse files
committed
Make sure Speakeasy generates the partition spec second
1 parent 700a0e3 commit 7e92477

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

.speakeasy/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ speakeasyVersion: latest
33
sources:
44
my-source:
55
inputs:
6-
- location: https://api.unstructured.io/general/openapi.json
76
- location: https://platform.unstructuredapp.io/openapi.json
7+
- location: https://api.unstructured.io/general/openapi.json
88
overlays:
99
- location: ./overlay_client.yaml
1010
registry:

docs/models/errors/httpvalidationerror.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
8-
| `detail` | List[[shared.ValidationError](../../models/shared/validationerror.md)] | :heavy_minus_sign: | N/A |
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
8+
| `detail` | [Optional[errors.Detail]](../../models/errors/detail.md) | :heavy_minus_sign: | N/A |

src/unstructured_client/models/errors/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

3-
from .httpvalidationerror import HTTPValidationError, HTTPValidationErrorData
3+
from .httpvalidationerror import Detail, HTTPValidationError, HTTPValidationErrorData
44
from .sdkerror import SDKError
55
from .servererror import ServerError, ServerErrorData
66

77

88
__all__ = [
9+
"Detail",
910
"HTTPValidationError",
1011
"HTTPValidationErrorData",
1112
"SDKError",

src/unstructured_client/models/errors/httpvalidationerror.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

33
from __future__ import annotations
4-
from typing import List, Optional
4+
from typing import List, Optional, Union
5+
from typing_extensions import TypeAliasType
56
from unstructured_client import utils
67
from unstructured_client.models.shared import validationerror as shared_validationerror
78
from unstructured_client.types import BaseModel
89

910

11+
DetailTypedDict = TypeAliasType(
12+
"DetailTypedDict", Union[List[shared_validationerror.ValidationErrorTypedDict], str]
13+
)
14+
15+
16+
Detail = TypeAliasType(
17+
"Detail", Union[List[shared_validationerror.ValidationError], str]
18+
)
19+
20+
1021
class HTTPValidationErrorData(BaseModel):
11-
detail: Optional[List[shared_validationerror.ValidationError]] = None
22+
detail: Optional[Detail] = None
1223

1324

1425
class HTTPValidationError(Exception):

0 commit comments

Comments
 (0)