diff --git a/src/engine/src/helpers/ConditionalExpressionEvaluator.py b/src/engine/src/helpers/ConditionalExpressionEvaluator.py index f8ca10f9..cd08e6eb 100644 --- a/src/engine/src/helpers/ConditionalExpressionEvaluator.py +++ b/src/engine/src/helpers/ConditionalExpressionEvaluator.py @@ -17,10 +17,10 @@ def __init__(self): self._logical_operators = list(get_args(LogicalOperator)) self._membership_operators = list(get_args(MembershipOperator)) - def evaluate_all(self, conditions: ConditionalExpressions): + def evaluate_all(self, conditions: ConditionalExpressions, ctx=None): evaluations = [] for condition in conditions: - evaluations.append(self.evaluate(condition)) + evaluations.append(self.evaluate(condition, ctx=ctx)) return all(evaluations)