Fokko commented on code in PR #2557:
URL: https://github.com/apache/iceberg-python/pull/2557#discussion_r2399831583
##########
pyiceberg/expressions/__init__.py:
##########
@@ -690,14 +701,16 @@ def __new__( # type: ignore # pylint: disable=W0221
def __invert__(self) -> NotIn[L]:
"""Transform the Expression into its negated version."""
- return NotIn[L](self.term, self.literals)
+ return NotIn[L](self.term, self._literals)
Review Comment:
Should refer to `literals` in the superclass.
```suggestion
return NotIn[L](self.term, self.literals)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]