Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace inspect.getargspec with inspect.getfullargspec #1446

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ def main():
'trips_offline': ['pykqml'],
'reach_offline': ['cython<3', 'pyjnius==1.1.4'],
'eidos_offline': ['cython<3', 'pyjnius==1.1.4'],
'hypothesis': ['gilda>=0.10.2'],
'hypothesis': ['gilda>1.0.0'],
'geneways': ['stemming', 'nltk<3.6'],
'bel': ['pybel>=0.15.0,<0.16.0'],
'sbml': ['python-libsbml'],
# Tools and analysis
'machine': ['pytz', 'tzlocal', 'tweepy', 'pyyaml>=5.1.0',
'click'],
'explanation': ['kappy==4.1.2', 'paths-graph'],
'grounding': ['adeft', 'gilda>=0.10.2'],
'grounding': ['adeft', 'gilda>1.0.0'],
# AWS interface and database
'aws': ['boto3', 'reportlab'],
# Utilities
Expand Down
Loading