FullerSignature¶
-
class
utilipy.utils.inspect.FullerSignature(parameters=None, *, return_annotation, obj=None, __validate_parameters__=True)[source]¶ Bases:
inspect.SignatureSignature with better ArgSpec compatibility.
Constructs FullerSignature from the given list of Parameter objects and ‘return_annotation’. All arguments are optional.
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 asgetfullargspec- Parameters
- parametersSequence, optional
list of Parameter objects
- return_annotationAny
return annotation of
obj- objAny
the object for which this is the signature
Constructs Signature from the given list of Parameter objects and ‘return_annotation’. All arguments are optional.