diplomat.processing.type_casters.List¶
- class diplomat.processing.type_casters.List(item_type: Callable[[Any], Any])[source]¶
Bases:
ConvertibleTypeCasterA type which represents a sequence, or list.
Methods
__init__(item_type)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.