FullerSignature

class utilipy.utils.inspect.FullerSignature(parameters=None, *, return_annotation, __validate_parameters__=True)[source]

Bases: inspect.Signature

Signature with better ArgSpec compatibility.

Though Signature is the new object, python still largely uses the outputs as defined by getfullargspec This serves as a bridge, providing methods that return the same output as getfullargspec

Constructs Signature from the given list of Parameter objects and ‘return_annotation’. All arguments are optional.