Skip to content

Commit

Permalink
Replace inspect.getargspec with inspect.getfullargspec
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Jun 5, 2024
1 parent afa7d81 commit cdad159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indra/pipeline/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def run_function(self, func_dict, statements=None, **kwargs):
new_kwargs['statements'] = statements
if kwargs:
for k, v in kwargs.items():
if k not in new_kwargs and k in inspect.getargspec(func).args:
if k not in new_kwargs and k in inspect.getfullargspec(func).args:
new_kwargs[k] = v
return self.run_simple_function(func, *new_args, **new_kwargs)

Expand Down

0 comments on commit cdad159

Please sign in to comment.