diplomat.processing.type_casters.TypedDict
- class diplomat.processing.type_casters.TypedDict(_name: str, /, **entries: TypeCaster)[source]
Bases:
ConvertibleTypeCasterRepresents typing.Dict as a type caster
- __init__(_name: str, /, **entries: TypeCaster)[source]
Methods
__init__(_name, /, **entries)Convert this type to a CLI-Friendly format for display on the command line as a metavar.
Abstract method: Convert this typecaster instance to a regular type hint.