Fokko commented on code in PR #6504:
URL: https://github.com/apache/iceberg/pull/6504#discussion_r1059129800


##########
python/pyiceberg/typedef.py:
##########
@@ -54,12 +54,9 @@ def __init__(self, default_factory: Callable[[K], V]):
         self.default_factory = default_factory
 
     def __missing__(self, key: K) -> V:
-        if self.default_factory is None:

Review Comment:
   `self.default_factory` cannot be null because of the type signature



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