Skip to content

Commit 6913b11

Browse files
AniketsyFokko
andauthored
Update pyiceberg/expressions/__init__.py
Co-authored-by: Fokko Driesprong <fokko@apache.org>
1 parent 75532f9 commit 6913b11

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
@@ -720,7 +720,7 @@ def __new__( # type: ignore # pylint: disable=W0221
720720

721721
def __invert__(self) -> In[L]:
722722
"""Transform the Expression into its negated version."""
723-
return In[L](self.term, self._literals)
723+
return NotIn[L](self.term, self.literals)
724724

725725
@property
726726
def as_bound(self) -> Type[BoundNotIn[L]]:

0 commit comments

Comments
 (0)