Skip to content
Snippets Groups Projects
Verified Commit 5707f827 authored by Daniel Williams's avatar Daniel Williams :cloud_snow:
Browse files

Changed the _infer_..._first_arg method to use generic n_arg function.

parent acf1986b
No related branches found
No related tags found
1 merge request!608Add support for inference of method arguments
......@@ -130,12 +130,6 @@ def _infer_args_from_function_except_n_args(func, n=1):
def _infer_args_from_function_except_for_first_arg(func):
#try:
# parameters = inspect.getfullargspec(func).args
#except AttributeError:
# parameters = inspect.getargspec(func).args
#parameters.pop(0)
#return parameters
return _infer_args_from_function_except_n_args(func=func, n=1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment