Skip to content

Commit 25f3fcd

Browse files
committed
fix: invalid creation of Or instance with multiple BooleanExpressions
1 parent 17a93d2 commit 25f3fcd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyiceberg/expressions/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ def __new__(cls, left: BooleanExpression, right: BooleanExpression, *rest: Boole
328328
return left
329329
else:
330330
obj = super().__new__(cls)
331+
super(Or, obj).__init__(left=left, right=right)
331332
return obj
332333

333334
@field_serializer("left")

0 commit comments

Comments
 (0)