Skip to content

Commit

Permalink
Better log message for positional arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
awicenec committed May 17, 2022
1 parent fc2606b commit 943eb33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daliuge-engine/dlg/apps/pyfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,9 +461,9 @@ def run(self):
pa:
value
})
elif pa != 'self':
elif pa != 'self' and pa not in pargsDict:
logger.warning(f"Required positional argument '{pa}' not found!")
logger.debug(f"updating posargs with {list(kwargs.values())}")
logger.debug(f"updating posargs with {list(pargsDict.values())}")
self.pargs.extend(list(pargsDict.values()))

# Try to get values for still missing kwargs arguments from Application kws
Expand Down

0 comments on commit 943eb33

Please sign in to comment.