changes
This commit is contained in:
@@ -54,6 +54,7 @@ def evaluate_rule(rule: Rule, context: dict):
|
||||
|
||||
print(f" Evaluating Rule: {left} {op} {right}")
|
||||
|
||||
if op == "IN" and left not in right: return False
|
||||
if op == "==" and left != right: return False
|
||||
if op == "!=" and left == right: return False
|
||||
if op == ">" and not (left > right): return False
|
||||
|
||||
Reference in New Issue
Block a user