MehulBatra commented on code in PR #566:
URL: https://github.com/apache/iceberg-python/pull/566#discussion_r1546000951


##########
pyiceberg/typedef.py:
##########
@@ -199,3 +200,6 @@ def __repr__(self) -> str:
     def record_fields(self) -> List[str]:
         """Return values of all the fields of the Record class except those 
specified in skip_fields."""
         return [self.__getattribute__(v) if hasattr(self, v) else None for v 
in self._position_to_field_name]
+
+
+VersionNumber = Literal[1, 2]

Review Comment:
   Seems more user-friendly and relatable to the Iceberg world!



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