rdblue commented on code in PR #6139:
URL: https://github.com/apache/iceberg/pull/6139#discussion_r1027143980


##########
python/pyiceberg/expressions/visitors.py:
##########
@@ -89,33 +91,33 @@ def visit_and(self, left_result: T, right_result: T) -> T:
         """Visit method for an And boolean expression
 
         Args:
-            left_result (T): The result of visiting the left side of the 
expression
-            right_result (T): The result of visiting the right side of the 
expression
+            left_result (R): The result of visiting the left side of the 
expression
+            right_result (R): The result of visiting the right side of the 
expression
         """
 
     @abstractmethod
     def visit_or(self, left_result: T, right_result: T) -> T:
         """Visit method for an Or boolean expression
 
         Args:
-            left_result (T): The result of visiting the left side of the 
expression
-            right_result (T): The result of visiting the right side of the 
expression
+            left_result (R): The result of visiting the left side of the 
expression
+            right_result (R): The result of visiting the right side of the 
expression
         """
 
     @abstractmethod
-    def visit_unbound_predicate(self, predicate) -> T:
+    def visit_unbound_predicate(self, predicate: UnboundPredicate) -> T:

Review Comment:
   Should be `UnboundPredicate[L]`, I think.



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to