Skip to content

Commit 1d481ad

Browse files
committed
fix: invalid creation of Or instance with multiple BooleanExpressions
1 parent f6a3200 commit 1d481ad

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
@@ -316,6 +316,7 @@ def __new__(cls, left: BooleanExpression, right: BooleanExpression, *rest: Boole
316316
return left
317317
else:
318318
obj = super().__new__(cls)
319+
super(Or, obj).__init__(left=left, right=right)
319320
return obj
320321

321322
@field_serializer("left")

0 commit comments

Comments
 (0)