Skip to content

Latest commit

 

History

History
101 lines (84 loc) · 5.09 KB

File metadata and controls

101 lines (84 loc) · 5.09 KB

AnyofComplexTypes

unit_test_api.components.schema.anyof_complex_types

type: schemas.Schema

validate method

Input Type Return Type Notes
dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader schemas.immutabledict, str, float, int, bool, None, tuple, bytes, io.FileIO

Composed Schemas (allOf/anyOf/oneOf/not)

anyOf

Schema Class Input Type Return Type
_0 _0DictInput, _0Dict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader _0Dict, str, float, int, bool, None, tuple, bytes, io.FileIO
_1 _1DictInput, _1Dict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader _1Dict, str, float, int, bool, None, tuple, bytes, io.FileIO

_0

type: schemas.Schema

validate method

Input Type Return Type Notes
_0DictInput, _0Dict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader _0Dict, str, float, int, bool, None, tuple, bytes, io.FileIO

_0DictInput

type: typing.Mapping[str, schemas.INPUT_TYPES_ALL]
Key Type Description Notes
bar int
any_string_name dict, schemas.immutabledict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.FileIO any string name can be used but the value must be the correct type [optional]

_0Dict

base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]

__new__ method

Keyword Argument Type Description Notes
bar int
kwargs schemas.immutabledict, tuple, float, int, str, bool, None, bytes, schemas.FileIO any string name can be used but the value must be the correct type [optional] typed value is accessed with the get_additional_property_ method

properties

Property Type Description Notes
bar int

methods

Method Input Type Return Type Notes
from_dict_ _0DictInput, _0Dict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader _0Dict, str, float, int, bool, None, tuple, bytes, io.FileIO a constructor
get_additional_property_ str schemas.immutabledict, tuple, float, int, str, bool, None, bytes, schemas.FileIO, schemas.Unset provides type safety for additional properties

_1

type: schemas.Schema

validate method

Input Type Return Type Notes
_1DictInput, _1Dict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader _1Dict, str, float, int, bool, None, tuple, bytes, io.FileIO

_1DictInput

type: typing.Mapping[str, schemas.INPUT_TYPES_ALL]
Key Type Description Notes
foo str
any_string_name dict, schemas.immutabledict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.FileIO any string name can be used but the value must be the correct type [optional]

_1Dict

base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]

__new__ method

Keyword Argument Type Description Notes
foo str
kwargs schemas.immutabledict, tuple, float, int, str, bool, None, bytes, schemas.FileIO any string name can be used but the value must be the correct type [optional] typed value is accessed with the get_additional_property_ method

properties

Property Type Description Notes
foo str

methods

Method Input Type Return Type Notes
from_dict_ _1DictInput, _1Dict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader _1Dict, str, float, int, bool, None, tuple, bytes, io.FileIO a constructor
get_additional_property_ str schemas.immutabledict, tuple, float, int, str, bool, None, bytes, schemas.FileIO, schemas.Unset provides type safety for additional properties

[Back to top] [Back to Component Schemas] [Back to README]