auto_parse

auto_parse(types={})[source]

Function decorator to perform automatic parsing of input arguments.

Parameters:

types (dict of types, optional) – The function’s type annotations are used as defaults, which can be overridden by specifying a dictionary of argument names together with their types.