Constructs Signature for the given callable object.
(cls, obj, *,
follow_wrapped=True, globals=None, locals=None, eval_str=False,
annotation_format=Format.VALUE)
| 3038 | |
| 3039 | @classmethod |
| 3040 | def from_callable(cls, obj, *, |
| 3041 | follow_wrapped=True, globals=None, locals=None, eval_str=False, |
| 3042 | annotation_format=Format.VALUE): |
| 3043 | """Constructs Signature for the given callable object.""" |
| 3044 | return _signature_from_callable(obj, sigcls=cls, |
| 3045 | follow_wrapper_chains=follow_wrapped, |
| 3046 | globals=globals, locals=locals, eval_str=eval_str, |
| 3047 | annotation_format=annotation_format) |
| 3048 | |
| 3049 | @property |
| 3050 | def parameters(self): |