From 67681b2ab573c70c9b91ef86838dfa072a4a7172 Mon Sep 17 00:00:00 2001 From: Nathan Freeman Date: Tue, 28 Nov 2023 16:14:34 -0600 Subject: [PATCH] bugfix: kwargs in CEE --- src/engine/src/helpers/ConditionalExpressionEvaluator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)