File tree Expand file tree Collapse file tree 5 files changed +36
-7
lines changed
src/unstructured_client/models/errors Expand file tree Collapse file tree 5 files changed +36
-7
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ download-openapi-specs:
7171# # client-merge-serverless-platform: Merge the Serverless and Platform APIs specs into a single schema
7272.PHONY : client-merge-serverless-platform
7373client-merge-serverless-platform :
74- speakeasy merge -s ./openapi_serverless .json -s ./openapi_platform_api .json -o ./openapi_merged.yaml
74+ speakeasy merge -s ./openapi_platform_api .json -s ./openapi_serverless .json -o ./openapi_merged.yaml
7575
7676# # client-generate-unified-sdk-local: Generate the SDK using merged schemas
7777.PHONY : client-generate-unified-sdk-local
Original file line number Diff line number Diff line change 1+ # Detail
2+
3+
4+ ## Supported Types
5+
6+ ### ` List[shared.ValidationError] `
7+
8+ ``` python
9+ value: List[shared.ValidationError] = /* values here */
10+ ```
11+
12+ ### ` str `
13+
14+ ``` python
15+ value: str = /* values here */
16+ ```
17+
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