typedargs.types.map module¶
Reference¶
-
class
typedargs.types.map.
map
(keytype, valuetype, **kwargs)[source]¶ Bases:
object
-
MAPPED_COMPLEX_TYPE
= typing.Dict¶
-
format_one_line
(value: dict, key_formatter: str = None, val_formatter: str = None, **kwargs) → str[source]¶ Get string representation for the passed dict object.
Parameters: - value – dict object to translate to string.
- key_formatter – formatter for dict keys
- val_formatter – formatter for dict values
Returns: string representation of arg
-