Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (33 loc) · 1.34 KB

File metadata and controls

39 lines (33 loc) · 1.34 KB

Address

petstore_api.components.schema.address

type: schemas.Schema

validate method

Input Type Return Type Notes
AddressDictInput, AddressDict AddressDict

AddressDictInput

type: typing.Mapping[
    str,
    int,
]
Key Type Description Notes
any_string_name int any string name can be used but the value must be the correct type [optional]

AddressDict

base class: schemas.immutabledict[str, int]

__new__ method

Keyword Argument Type Description Notes
kwargs int 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_ AddressDictInput, AddressDict AddressDict a constructor
get_additional_property_ str int, schemas.Unset provides type safety for additional properties

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