Skip to content

Flagger: change default isFlagged comparator to '>='

David Schäfer requested to merge flaggerdefaults into develop

The current default comparator ">" for flagger.isFlagged returns False for the following call:

flagger.setFlags(field, flag=flagger.BAD).isFlagged(field, flag=flagger.BAD).any()

That seems to be somewhat counter intuitive to me.

This merge request adresses this issue by replacing the default comparator with '>='.

Merge request reports

Loading