Skip to content
Snippets Groups Projects
Commit b2348663 authored by David Schäfer's avatar David Schäfer
Browse files

reintroducing lost `func_name` argument into function calls

parent dcebb80a
No related branches found
No related tags found
1 merge request!222bugfix: reintroducing lost `func_name` argument into function calls
Pipeline #17400 passed with stage
in 6 minutes and 14 seconds
......@@ -236,7 +236,7 @@ class SaQC(FuncModules):
regex=regex,
)
partial = func.bind(*fargs, **{"nodata": self._nodata, **fkwargs})
partial = func.bind(*fargs, **{"nodata": self._nodata, "func_name": func.name, **fkwargs})
out = self if inplace else self.copy(deep=True)
out._to_call.append((locator, control, partial))
......@@ -369,7 +369,7 @@ def _warnForUnusedKwargs(func, flagger):
# we need to ignore kwargs that are injected or
# used to control the flagger
ignore = flagger.signature + ('nodata',)
ignore = flagger.signature + ("nodata", "func_name")
missing = []
for kw in func.keywords:
......
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