Skip to content

Commit 8211bd0

Browse files
committed
Make SetPredicate and subclasses JSON serializable with Pydantic
1 parent 971258c commit 8211bd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyiceberg/expressions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ def __new__( # type: ignore # pylint: disable=W0221
701701

702702
def __invert__(self) -> NotIn[L]:
703703
"""Transform the Expression into its negated version."""
704-
return NotIn[L](self.term, self.literals)
704+
return NotIn[L](self.term, self._literals)
705705

706706
@property
707707
def as_bound(self) -> Type[BoundIn[L]]:

0 commit comments

Comments
 (0)