module documentation
defines generic type conversion functions, as used in bind and result processors. They all share one common characteristic: None is passed through unchanged.
Function | int |
Undocumented |
Function | str |
Undocumented |
Function | str |
Undocumented |
Function | str |
Undocumented |
Function | str |
Undocumented |
Function | to |
Undocumented |
Function | to |
Undocumented |
Function | to |
Undocumented |
Type Variable | _DT |
Undocumented |
def str_to_datetime_processor_factory(regexp:
typing.Pattern[ str]
, type_: Callable[ ..., _DT]
) -> Callable[ [ Optional[ str]], Optional[ _DT]]
:
(source)
¶
Undocumented
def to_decimal_processor_factory(target_class:
Type[ Decimal]
, scale: int
) -> Callable[ [ Optional[ float]], Optional[ Decimal]]
:
(source)
¶
Undocumented