Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 2.99 KB

File metadata and controls

42 lines (36 loc) · 2.99 KB

RefInAdditionalproperties

unit_test_api.components.schema.ref_in_additionalproperties

type: schemas.Schema

validate method

Input Type Return Type Notes
RefInAdditionalpropertiesDictInput, RefInAdditionalpropertiesDict RefInAdditionalpropertiesDict

RefInAdditionalpropertiesDictInput

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

RefInAdditionalpropertiesDict

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

__new__ method

Keyword Argument Type Description Notes
kwargs property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReferenceDictInput, property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReferenceDict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader 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

methods

Method Input Type Return Type Notes
from_dict_ RefInAdditionalpropertiesDictInput, RefInAdditionalpropertiesDict RefInAdditionalpropertiesDict a constructor
get_additional_property_ str property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReferenceDict, str, float, int, bool, None, tuple, bytes, io.FileIO, schemas.Unset provides type safety for additional properties

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