Module preconvert.converters
Functions
byte_converter
def ( item )
convert_namedtuple
def ( instance: Any ) -> Union[Dict, tuple]
nverts a tuple of type namedtuple to a dict. This isn't registered as injecting this via registration won't work because it will never be falling through to as tuples convert to list.
if the tuple isn't a named one, it will return the tuple unchanged
datetime_converter
def ( item )
time_delta_converter
def ( item )
use_value_attribute
def ( item )