(context, result)
| 262 | if elem.get(key) == value: |
| 263 | yield elem |
| 264 | def select_negated(context, result): |
| 265 | for elem in result: |
| 266 | if (attr_value := elem.get(key)) is not None and attr_value != value: |
| 267 | yield elem |
| 268 | return select_negated if '!=' in signature else select |
| 269 | if signature == "-" and not re.match(r"\-?\d+$", predicate[0]): |
| 270 | # [tag] |