getfullerargspec

utilipy.utils.inspect.getfullerargspec(func: Callable)utilipy.utils.inspect.FullerArgSpec[source]

Separated version of FullerArgSpec.

fullargspec with separation of mandatory and optional arguments adds defargs which corresponds defaults

Parameters
funcfunction

the function to inspect

Returns
FullerArgSpecnamedtuple

args : the mandatory arguments defargs : arguments with defaults defaults : dictionary of defaults to defargs varargs : variable arguments (args) kwonlyargs : keyword-only arguments kwonlydefaults : keyword-only argument defaults varkw : variable key-word arguments (kwargs) annotations : function annotations docstring : function docstring