Skip to content
Snippets Groups Projects
Commit 2863bb55 authored by Bert Palm's avatar Bert Palm 🎇
Browse files

removed unused 'func_name'

parent 840a5c3d
No related branches found
No related tags found
3 merge requests!271Static expansion of regular expressions,!260Follow-Up Translations,!237Flagger Translations
......@@ -241,7 +241,7 @@ class SaQC(FuncModules):
regex=regex,
)
partial = func.bind(*fargs, **{"nodata": self._nodata, "func_name": func.name, **fkwargs})
partial = func.bind(*fargs, **{"nodata": self._nodata, **fkwargs})
out = self if inplace else self.copy(deep=True)
out._to_call.append((locator, control, partial))
......@@ -309,7 +309,7 @@ def _warnForUnusedKwargs(func):
sig_kws = inspect.signature(func.func).parameters
# we need to ignore kws that are injected or by default hidden in ``**kwargs``
ignore = ("nodata", "func_name", "flag", "to_mask")
ignore = ("nodata", "to_mask")
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