File tree Expand file tree Collapse file tree 4 files changed +19
-7
lines changed
src/unstructured_client/models/errors Expand file tree Collapse file tree 4 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ speakeasyVersion: latest
33sources :
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 :
Original file line number Diff line number Diff line change 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 |
Original file line number Diff line number Diff line change 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
44from .sdkerror import SDKError
55from .servererror import ServerError , ServerErrorData
66
77
88__all__ = [
9+ "Detail" ,
910 "HTTPValidationError" ,
1011 "HTTPValidationErrorData" ,
1112 "SDKError" ,
Original file line number Diff line number Diff line change 11"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22
33from __future__ import annotations
4- from typing import List , Optional
4+ from typing import List , Optional , Union
5+ from typing_extensions import TypeAliasType
56from unstructured_client import utils
67from unstructured_client .models .shared import validationerror as shared_validationerror
78from 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+
1021class HTTPValidationErrorData (BaseModel ):
11- detail : Optional [List [ shared_validationerror . ValidationError ] ] = None
22+ detail : Optional [Detail ] = None
1223
1324
1425class HTTPValidationError (Exception ):
You can’t perform that action at this time.
0 commit comments