koenvo commented on code in PR #1830: URL: https://github.com/apache/iceberg-python/pull/1830#discussion_r2009863479
########## pyiceberg/table/upsert_util.py: ########## @@ -28,6 +29,43 @@ In, ) +T = TypeVar("T") + + +def build_balanced_tree(operator_: Callable[[T, T], T], items: List[T]) -> T: Review Comment: I believe I tried that, but the linting was complaining. Let me doublecheck. -- 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