signature
A wrapper around inspect.signature that leaves deferred annotations unevaluated on Python 3.14+, since they are not used in our case.
def signature(
obj: callable
) - > inspect.Signature
A wrapper around inspect.signature that leaves deferred annotations unevaluated on Python 3.14+, since they are not used in our case.
Parameters
| Name | Type | Description |
|---|---|---|
| obj | callable | The callable object (function, class, or method) whose signature is being inspected |
Returns
| Type | Description |
|---|---|
inspect.Signature | An object representing the call signature of the given callable, with annotations handled according to the Python version. |