check function arguments name python code example
Example: python get names of input arguments
def a_method(arg1, arg2):
pass
>>> inspect.getfullargspec(a_method)
(['arg1', 'arg2'], None, None, None)
def a_method(arg1, arg2):
pass
>>> inspect.getfullargspec(a_method)
(['arg1', 'arg2'], None, None, None)