FullerSignature¶
- class utilipy.utils.inspect.FullerSignature(parameters=None, *, return_annotation, __validate_parameters__=True)[source]¶
Bases:
inspect.SignatureSignature with better ArgSpec compatibility.
Though
Signatureis the new object, python still largely uses the outputs as defined bygetfullargspecThis serves as a bridge, providing methods that return the same output asgetfullargspecConstructs Signature from the given list of Parameter objects and ‘return_annotation’. All arguments are optional.