18 lines
331 B
Python
18 lines
331 B
Python
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
COMPOSITE_RULE_TEMPLATE_KEY = "composite_rule_v1"
|
||
|
|
|
||
|
|
COMPOSITE_RULE_OPERATORS = {
|
||
|
|
"exists_any",
|
||
|
|
"exists_all",
|
||
|
|
"all_present",
|
||
|
|
"in_scope",
|
||
|
|
"not_in_scope",
|
||
|
|
"not_in_set",
|
||
|
|
"overlap",
|
||
|
|
"not_overlap",
|
||
|
|
"date_outside_range",
|
||
|
|
"contains_any",
|
||
|
|
"not_contains_any",
|
||
|
|
}
|