Skip to content

Commit 5768026

Browse files
committed
fixed #27
1 parent 0441243 commit 5768026

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/object_filtering/object_filtering.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313

1414
ABS_TOL = Decimal(0.0001)
15-
VALID_OPERATORS = set(["<", "<=", "==", "!=", ">=", ">"])
16-
VALID_LOGICAL_OPERATORS = set(["and", "or"])
17-
VALID_MULTI_VALUE_BEHAVIORS = set(["none", "add", "each_meets_criterion", "each_equal_in_object"])
18-
SPECIAL_VARIABLES = set(["$CLASS$"])
19-
CLASS_VARIABLE_OPERATORS = set(["==", "!="])
15+
VALID_OPERATORS = {"<", "<=", "==", "!=", ">=", ">"}
16+
VALID_LOGICAL_OPERATORS = {"and", "or"}
17+
VALID_MULTI_VALUE_BEHAVIORS = {"none", "add", "each_meets_criterion", "each_equal_in_object"}
18+
SPECIAL_VARIABLES = {"$CLASS$"}
19+
CLASS_VARIABLE_OPERATORS = {"==", "!="}
2020

2121
class ObjectFilter(dict):
2222
def __init__(

0 commit comments

Comments
 (0)