Skip to content

Commit

Permalink
bugfix: kwargs in CEE
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Nov 28, 2023
1 parent b6b5174 commit 67681b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/src/helpers/ConditionalExpressionEvaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 67681b2

Please sign in to comment.