Fokko commented on code in PR #2557:
URL: https://github.com/apache/iceberg-python/pull/2557#discussion_r2400103293


##########
pyiceberg/expressions/__init__.py:
##########
@@ -559,8 +561,9 @@ def as_bound(self) -> Type[BoundNotNaN[L]]:
         return BoundNotNaN[L]
 
 
-class SetPredicate(UnboundPredicate[L], ABC):
-    literals: Set[Literal[L]]
+class SetPredicate(UnboundPredicate[L], IcebergBaseModel, ABC):

Review Comment:
   I think this should supress the warning for now:
   ```suggestion
   class SetPredicate(UnboundPredicate[L], IcebergBaseModel, ABC):
       model_config = ConfigDict(arbitrary_types_allowed=True)
   
   ```
   
   In the end, the whole  expression tree should be serializeable to JSON, and 
then we can remove this configuration again.



-- 
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]

Reply via email to