CircArgs commented on a change in pull request #4016:
URL: https://github.com/apache/iceberg/pull/4016#discussion_r796925557



##########
File path: python/src/iceberg/types.py
##########
@@ -206,19 +204,14 @@ class IntegerType(Type):
 
     min: int = -2147483648
 
-    def __init__(self):
-        super().__init__("int", "IntegerType()", is_primitive=True)
 
-
-class LongType(Type):
+class LongType(PrimitiveType):
     """A Long data type in Iceberg can be represented using an instance of 
this class. Longs in Iceberg are
     64-bit signed integers.
-
     Example:
         >>> column_foo = LongType()
         >>> isinstance(column_foo, LongType)
         True
-

Review comment:
       I think it's actually a matter of black not formatting docstrings. Seems 
to be an unresolved issue https://github.com/psf/black/issues/144 mentions some 
additional formatting libraries but I've never seen them. Added in the 
whitespace manually for now for all docstrings




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