Skip to content

Commit

Permalink
use getfullargspec instead of getargspec
Browse files Browse the repository at this point in the history
  • Loading branch information
jumpei-ukita committed Dec 14, 2023
1 parent fcaaa26 commit cee81f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luigi/contrib/presto.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _kwargs():
```
after py2-deprecation
"""
args = inspect.getargspec(Cursor.__init__)[0][1:]
args = inspect.getfullargspec(Cursor.__init__)[0][1:]

Check warning on line 107 in luigi/contrib/presto.py

View check run for this annotation

Codecov / codecov/patch

luigi/contrib/presto.py#L107

Added line #L107 was not covered by tests
for parameter in args:
val = getattr(self, parameter)
if val:
Expand Down

0 comments on commit cee81f3

Please sign in to comment.