forked from loafle/openapi-generator-original
python-experimental adds DecimalSchema (#11282)
* Fixes test * Adds decimal examples to the pythonExp generator * Adds isDecimal to CodegenModel, updates python-exp samples * Fixes decimal types in ObjectModelWIthDecimalProperties and DecimalPayload * Updates tests * Decimal feature added to python-exp docs * Samples and docs regenerated
This commit is contained in:
@@ -41,10 +41,12 @@ docs/ComposedNumber.md
|
||||
docs/ComposedObject.md
|
||||
docs/ComposedOneOfDifferentTypes.md
|
||||
docs/ComposedString.md
|
||||
docs/Currency.md
|
||||
docs/DanishPig.md
|
||||
docs/DateTimeTest.md
|
||||
docs/DateTimeWithValidations.md
|
||||
docs/DateWithValidations.md
|
||||
docs/DecimalPayload.md
|
||||
docs/DefaultApi.md
|
||||
docs/Dog.md
|
||||
docs/DogAllOf.md
|
||||
@@ -80,6 +82,7 @@ docs/MapTest.md
|
||||
docs/MixedPropertiesAndAdditionalPropertiesClass.md
|
||||
docs/Model200Response.md
|
||||
docs/ModelReturn.md
|
||||
docs/Money.md
|
||||
docs/Name.md
|
||||
docs/NoAdditionalProperties.md
|
||||
docs/NullableClass.md
|
||||
@@ -90,6 +93,7 @@ docs/NumberOnly.md
|
||||
docs/NumberWithValidations.md
|
||||
docs/ObjectInterface.md
|
||||
docs/ObjectModelWithRefProps.md
|
||||
docs/ObjectWithDecimalProperties.md
|
||||
docs/ObjectWithDifficultlyNamedProps.md
|
||||
docs/ObjectWithValidations.md
|
||||
docs/Order.md
|
||||
@@ -175,10 +179,12 @@ petstore_api/model/composed_number.py
|
||||
petstore_api/model/composed_object.py
|
||||
petstore_api/model/composed_one_of_different_types.py
|
||||
petstore_api/model/composed_string.py
|
||||
petstore_api/model/currency.py
|
||||
petstore_api/model/danish_pig.py
|
||||
petstore_api/model/date_time_test.py
|
||||
petstore_api/model/date_time_with_validations.py
|
||||
petstore_api/model/date_with_validations.py
|
||||
petstore_api/model/decimal_payload.py
|
||||
petstore_api/model/dog.py
|
||||
petstore_api/model/dog_all_of.py
|
||||
petstore_api/model/drawing.py
|
||||
@@ -211,6 +217,7 @@ petstore_api/model/map_test.py
|
||||
petstore_api/model/mixed_properties_and_additional_properties_class.py
|
||||
petstore_api/model/model200_response.py
|
||||
petstore_api/model/model_return.py
|
||||
petstore_api/model/money.py
|
||||
petstore_api/model/name.py
|
||||
petstore_api/model/no_additional_properties.py
|
||||
petstore_api/model/nullable_class.py
|
||||
@@ -221,6 +228,7 @@ petstore_api/model/number_only.py
|
||||
petstore_api/model/number_with_validations.py
|
||||
petstore_api/model/object_interface.py
|
||||
petstore_api/model/object_model_with_ref_props.py
|
||||
petstore_api/model/object_with_decimal_properties.py
|
||||
petstore_api/model/object_with_difficultly_named_props.py
|
||||
petstore_api/model/object_with_validations.py
|
||||
petstore_api/model/order.py
|
||||
|
||||
@@ -172,10 +172,12 @@ Class | Method | HTTP request | Description
|
||||
- [ComposedObject](docs/ComposedObject.md)
|
||||
- [ComposedOneOfDifferentTypes](docs/ComposedOneOfDifferentTypes.md)
|
||||
- [ComposedString](docs/ComposedString.md)
|
||||
- [Currency](docs/Currency.md)
|
||||
- [DanishPig](docs/DanishPig.md)
|
||||
- [DateTimeTest](docs/DateTimeTest.md)
|
||||
- [DateTimeWithValidations](docs/DateTimeWithValidations.md)
|
||||
- [DateWithValidations](docs/DateWithValidations.md)
|
||||
- [DecimalPayload](docs/DecimalPayload.md)
|
||||
- [Dog](docs/Dog.md)
|
||||
- [DogAllOf](docs/DogAllOf.md)
|
||||
- [Drawing](docs/Drawing.md)
|
||||
@@ -208,6 +210,7 @@ Class | Method | HTTP request | Description
|
||||
- [MixedPropertiesAndAdditionalPropertiesClass](docs/MixedPropertiesAndAdditionalPropertiesClass.md)
|
||||
- [Model200Response](docs/Model200Response.md)
|
||||
- [ModelReturn](docs/ModelReturn.md)
|
||||
- [Money](docs/Money.md)
|
||||
- [Name](docs/Name.md)
|
||||
- [NoAdditionalProperties](docs/NoAdditionalProperties.md)
|
||||
- [NullableClass](docs/NullableClass.md)
|
||||
@@ -218,6 +221,7 @@ Class | Method | HTTP request | Description
|
||||
- [NumberWithValidations](docs/NumberWithValidations.md)
|
||||
- [ObjectInterface](docs/ObjectInterface.md)
|
||||
- [ObjectModelWithRefProps](docs/ObjectModelWithRefProps.md)
|
||||
- [ObjectWithDecimalProperties](docs/ObjectWithDecimalProperties.md)
|
||||
- [ObjectWithDifficultlyNamedProps](docs/ObjectWithDifficultlyNamedProps.md)
|
||||
- [ObjectWithValidations](docs/ObjectWithValidations.md)
|
||||
- [Order](docs/Order.md)
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# Currency
|
||||
|
||||
Type | Description | Notes
|
||||
------------- | ------------- | -------------
|
||||
**str** | | must be one of ["eur", "usd", ]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# DecimalPayload
|
||||
|
||||
Type | Description | Notes
|
||||
------------- | ------------- | -------------
|
||||
**str** | |
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# Money
|
||||
|
||||
#### Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**amount** | **str** | |
|
||||
**currency** | [**Currency**](Currency.md) | |
|
||||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# ObjectWithDecimalProperties
|
||||
|
||||
#### Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**length** | **str** | | [optional]
|
||||
**width** | **str** | | [optional]
|
||||
**cost** | [**Money**](Money.md) | | [optional]
|
||||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -13,7 +13,7 @@ import typing
|
||||
import urllib3
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -31,6 +31,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -172,7 +173,7 @@ class SchemaForRequestBodyApplicationXWwwFormUrlencoded(
|
||||
callback: typing.Union[callback, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'SchemaForRequestBodyApplicationXWwwFormUrlencoded':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -348,7 +349,7 @@ class SchemaForRequestBodyApplicationXWwwFormUrlencoded(
|
||||
enum_form_string: typing.Union[enum_form_string, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'SchemaForRequestBodyApplicationXWwwFormUrlencoded':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -70,7 +71,7 @@ class SchemaForRequestBodyApplicationJson(
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'SchemaForRequestBodyApplicationJson':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -73,7 +74,7 @@ class SchemaForRequestBodyApplicationXWwwFormUrlencoded(
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'SchemaForRequestBodyApplicationXWwwFormUrlencoded':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -13,7 +13,7 @@ import typing
|
||||
import urllib3
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -31,6 +31,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -76,7 +77,7 @@ class SchemaForRequestBodyMultipartFormData(
|
||||
additionalMetadata: typing.Union[additionalMetadata, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'SchemaForRequestBodyMultipartFormData':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -78,7 +79,7 @@ class SchemaForRequestBodyMultipartFormData(
|
||||
files: typing.Union[files, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'SchemaForRequestBodyMultipartFormData':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -99,7 +100,7 @@ class SchemaForRequestBodyApplicationXWwwFormUrlencoded(
|
||||
status: typing.Union[status, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'SchemaForRequestBodyApplicationXWwwFormUrlencoded':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -102,7 +103,7 @@ class SchemaForRequestBodyMultipartFormData(
|
||||
additionalMetadata: typing.Union[additionalMetadata, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'SchemaForRequestBodyMultipartFormData':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -100,7 +101,7 @@ class SchemaForRequestBodyMultipartFormData(
|
||||
additionalMetadata: typing.Union[additionalMetadata, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'SchemaForRequestBodyMultipartFormData':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -13,7 +13,7 @@ import typing
|
||||
import urllib3
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -31,6 +31,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -74,7 +75,7 @@ class SchemaFor200ResponseBodyApplicationJson(
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'SchemaFor200ResponseBodyApplicationJson':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -13,7 +13,7 @@ import typing
|
||||
import urllib3
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -31,6 +31,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -13,7 +13,7 @@ import typing
|
||||
import urllib3
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -31,6 +31,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -14,7 +14,7 @@ import urllib3
|
||||
from urllib3._collections import HTTPHeaderDict
|
||||
|
||||
from petstore_api import api_client, exceptions
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -32,6 +32,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -29,7 +29,6 @@ from petstore_api import rest
|
||||
from petstore_api.configuration import Configuration
|
||||
from petstore_api.exceptions import ApiTypeError, ApiValueError
|
||||
from petstore_api.schemas import (
|
||||
Decimal,
|
||||
NoneClass,
|
||||
BoolClass,
|
||||
Schema,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -79,7 +80,7 @@ class AdditionalPropertiesClass(
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'map_property':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
@@ -104,7 +105,7 @@ class AdditionalPropertiesClass(
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> '_additional_properties':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
@@ -118,7 +119,7 @@ class AdditionalPropertiesClass(
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'map_of_map_property':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
@@ -141,7 +142,7 @@ class AdditionalPropertiesClass(
|
||||
cls,
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
):
|
||||
) -> 'empty_map':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
@@ -160,7 +161,7 @@ class AdditionalPropertiesClass(
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'map_with_undeclared_properties_string':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
@@ -182,7 +183,7 @@ class AdditionalPropertiesClass(
|
||||
map_with_undeclared_properties_string: typing.Union[map_with_undeclared_properties_string, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'AdditionalPropertiesClass':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -83,7 +84,7 @@ class AdditionalPropertiesWithArrayOfEnums(
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'AdditionalPropertiesWithArrayOfEnums':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -74,7 +75,7 @@ class Address(
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'Address':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -90,7 +91,7 @@ class Animal(
|
||||
color: typing.Union[color, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'Animal':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -79,7 +80,7 @@ class ApiResponse(
|
||||
message: typing.Union[message, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ApiResponse':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -104,7 +105,7 @@ class Apple(
|
||||
origin: typing.Union[origin, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'Apple':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -80,7 +81,7 @@ class AppleReq(
|
||||
cultivar: cultivar,
|
||||
mealy: typing.Union[mealy, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
):
|
||||
) -> 'AppleReq':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -85,7 +86,7 @@ class ArrayOfArrayOfNumberOnly(
|
||||
ArrayArrayNumber: typing.Union[ArrayArrayNumber, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ArrayOfArrayOfNumberOnly':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -80,7 +81,7 @@ class ArrayOfNumberOnly(
|
||||
ArrayNumber: typing.Union[ArrayNumber, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ArrayOfNumberOnly':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -108,7 +109,7 @@ class ArrayTest(
|
||||
array_array_of_model: typing.Union[array_array_of_model, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ArrayTest':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -78,7 +79,7 @@ class Banana(
|
||||
lengthCm: lengthCm,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'Banana':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -80,7 +81,7 @@ class BananaReq(
|
||||
lengthCm: lengthCm,
|
||||
sweet: typing.Union[sweet, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
):
|
||||
) -> 'BananaReq':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -92,7 +93,7 @@ class BasquePig(
|
||||
className: className,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'BasquePig':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -85,7 +86,7 @@ class Capitalization(
|
||||
ATT_NAME: typing.Union[ATT_NAME, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'Capitalization':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -90,10 +91,10 @@ class Cat(
|
||||
|
||||
def __new__(
|
||||
cls,
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, Decimal, None, list, tuple, bytes],
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, decimal.Decimal, None, list, tuple, bytes],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'Cat':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -75,7 +76,7 @@ class CatAllOf(
|
||||
declawed: typing.Union[declawed, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'CatAllOf':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -80,7 +81,7 @@ class Category(
|
||||
id: typing.Union[id, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'Category':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -90,10 +91,10 @@ class ChildCat(
|
||||
|
||||
def __new__(
|
||||
cls,
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, Decimal, None, list, tuple, bytes],
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, decimal.Decimal, None, list, tuple, bytes],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ChildCat':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -75,7 +76,7 @@ class ChildCatAllOf(
|
||||
name: typing.Union[name, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ChildCatAllOf':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -72,11 +73,11 @@ class ClassModel(
|
||||
|
||||
def __new__(
|
||||
cls,
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, Decimal, None, list, tuple, bytes],
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, decimal.Decimal, None, list, tuple, bytes],
|
||||
_class: typing.Union[_class, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ClassModel':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -75,7 +76,7 @@ class Client(
|
||||
client: typing.Union[client, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'Client':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -90,10 +91,10 @@ class ComplexQuadrilateral(
|
||||
|
||||
def __new__(
|
||||
cls,
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, Decimal, None, list, tuple, bytes],
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, decimal.Decimal, None, list, tuple, bytes],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ComplexQuadrilateral':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -89,7 +90,7 @@ class ComplexQuadrilateralAllOf(
|
||||
quadrilateralType: typing.Union[quadrilateralType, Unset] = unset,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ComplexQuadrilateralAllOf':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -125,10 +126,10 @@ class ComposedAnyOfDifferentTypesNoValidations(
|
||||
|
||||
def __new__(
|
||||
cls,
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, Decimal, None, list, tuple, bytes],
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, decimal.Decimal, None, list, tuple, bytes],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ComposedAnyOfDifferentTypesNoValidations':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -93,7 +94,7 @@ class ComposedBool(
|
||||
cls,
|
||||
*args: typing.Union[bool, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
):
|
||||
) -> 'ComposedBool':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -93,7 +94,7 @@ class ComposedNone(
|
||||
cls,
|
||||
*args: typing.Union[None, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
):
|
||||
) -> 'ComposedNone':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -93,7 +94,7 @@ class ComposedNumber(
|
||||
cls,
|
||||
*args: typing.Union[float, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
):
|
||||
) -> 'ComposedNumber':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -94,7 +95,7 @@ class ComposedObject(
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ComposedObject':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -97,7 +98,7 @@ class ComposedOneOfDifferentTypes(
|
||||
*args: typing.Union[dict, frozendict, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'oneOf_4':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
@@ -143,10 +144,10 @@ class ComposedOneOfDifferentTypes(
|
||||
|
||||
def __new__(
|
||||
cls,
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, Decimal, None, list, tuple, bytes],
|
||||
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, decimal.Decimal, None, list, tuple, bytes],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'ComposedOneOfDifferentTypes':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -93,7 +94,7 @@ class ComposedString(
|
||||
cls,
|
||||
*args: typing.Union[str, ],
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
):
|
||||
) -> 'ComposedString':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
OpenAPI Petstore
|
||||
|
||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
"""
|
||||
|
||||
import re # noqa: F401
|
||||
import sys # noqa: F401
|
||||
import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from petstore_api.schemas import ( # noqa: F401
|
||||
AnyTypeSchema,
|
||||
ComposedSchema,
|
||||
DictSchema,
|
||||
ListSchema,
|
||||
StrSchema,
|
||||
IntSchema,
|
||||
Int32Schema,
|
||||
Int64Schema,
|
||||
Float32Schema,
|
||||
Float64Schema,
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
none_type,
|
||||
InstantiationMetadata,
|
||||
Unset,
|
||||
unset,
|
||||
ComposedBase,
|
||||
ListBase,
|
||||
DictBase,
|
||||
NoneBase,
|
||||
StrBase,
|
||||
IntBase,
|
||||
NumberBase,
|
||||
DateBase,
|
||||
DateTimeBase,
|
||||
BoolBase,
|
||||
BinaryBase,
|
||||
Schema,
|
||||
_SchemaValidator,
|
||||
_SchemaTypeChecker,
|
||||
_SchemaEnumMaker
|
||||
)
|
||||
|
||||
|
||||
class Currency(
|
||||
_SchemaEnumMaker(
|
||||
enum_value_to_name={
|
||||
"eur": "EUR",
|
||||
"usd": "USD",
|
||||
}
|
||||
),
|
||||
StrSchema
|
||||
):
|
||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
||||
Ref: https://openapi-generator.tech
|
||||
|
||||
Do not edit the class manually.
|
||||
"""
|
||||
|
||||
@classmethod
|
||||
@property
|
||||
def EUR(cls):
|
||||
return cls._enum_by_value["eur"]("eur")
|
||||
|
||||
@classmethod
|
||||
@property
|
||||
def USD(cls):
|
||||
return cls._enum_by_value["usd"]("usd")
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
@@ -92,7 +93,7 @@ class DanishPig(
|
||||
className: className,
|
||||
_instantiation_metadata: typing.Optional[InstantiationMetadata] = None,
|
||||
**kwargs: typing.Type[Schema],
|
||||
):
|
||||
) -> 'DanishPig':
|
||||
return super().__new__(
|
||||
cls,
|
||||
*args,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -15,7 +15,7 @@ import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from decimal import Decimal # noqa: F401
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
@@ -33,6 +33,7 @@ from petstore_api.schemas import ( # noqa: F401
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
OpenAPI Petstore
|
||||
|
||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
"""
|
||||
|
||||
import re # noqa: F401
|
||||
import sys # noqa: F401
|
||||
import typing # noqa: F401
|
||||
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
import decimal # noqa: F401
|
||||
from datetime import date, datetime # noqa: F401
|
||||
from frozendict import frozendict # noqa: F401
|
||||
|
||||
from petstore_api.schemas import ( # noqa: F401
|
||||
AnyTypeSchema,
|
||||
ComposedSchema,
|
||||
DictSchema,
|
||||
ListSchema,
|
||||
StrSchema,
|
||||
IntSchema,
|
||||
Int32Schema,
|
||||
Int64Schema,
|
||||
Float32Schema,
|
||||
Float64Schema,
|
||||
NumberSchema,
|
||||
DateSchema,
|
||||
DateTimeSchema,
|
||||
DecimalSchema,
|
||||
BoolSchema,
|
||||
BinarySchema,
|
||||
NoneSchema,
|
||||
none_type,
|
||||
InstantiationMetadata,
|
||||
Unset,
|
||||
unset,
|
||||
ComposedBase,
|
||||
ListBase,
|
||||
DictBase,
|
||||
NoneBase,
|
||||
StrBase,
|
||||
IntBase,
|
||||
NumberBase,
|
||||
DateBase,
|
||||
DateTimeBase,
|
||||
BoolBase,
|
||||
BinaryBase,
|
||||
Schema,
|
||||
_SchemaValidator,
|
||||
_SchemaTypeChecker,
|
||||
_SchemaEnumMaker
|
||||
)
|
||||
DecimalPayload = DecimalSchema
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user