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

added warning

parent 378c030b
No related branches found
No related tags found
3 merge requests!271Static expansion of regular expressions,!260Follow-Up Translations,!237Flagger Translations
......@@ -75,6 +75,10 @@ def clearFlags(data: DictOfSeries, field: ColumnName, flagger: Flagger, **kwargs
forceFlags : set whole column to a flag value
flagUnflagged : set flag value at all unflagged positions
"""
if 'flag' in kwargs:
flag = kwargs.pop('flag')
warnings.warn(f'`flag={flag}` is ignored here.')
return forceFlags(data, field, flagger, flag=UNFLAGGED, **kwargs)
......
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