petstore_api.components.schema.items
type: schemas.Schema
component's name collides with the inner schema name
Input Type | Return Type | Notes |
---|---|---|
ItemsTupleInput, ItemsTuple | ItemsTuple |
type: typing.Union[
typing.List[
typing.Union[
typing.Mapping[str, schemas.INPUT_TYPES_ALL],
schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES],
],
],
typing.Tuple[
typing.Union[
typing.Mapping[str, schemas.INPUT_TYPES_ALL],
schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES],
],
...
]
]
List/Tuple Item Type | Description | Notes |
---|---|---|
dict, schemas.immutabledict |
base class: typing.Tuple[
schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES],
...
]
Argument | Type |
---|---|
arg | ItemsTupleInput, ItemsTuple |
configuration | typing.Optional[schema_configuration.SchemaConfiguration] = None |
Method | Input Type | Return Type | Notes |
---|---|---|---|
__getitem__ | int | schemas.immutabledict | This method is used under the hood when instance[0] is called |
type: schemas.Schema
Input Type | Return Type | Notes |
---|---|---|
dict, schemas.immutabledict | schemas.immutabledict |