lidavidm commented on code in PR #12901:
URL: https://github.com/apache/arrow/pull/12901#discussion_r854492797


##########
python/pyarrow/_parquet.pyx:
##########
@@ -174,14 +218,27 @@ cdef class ParquetLogicalType(_Weakrefable):
     cdef init(self, const shared_ptr[const CParquetLogicalType]& type):
         self.type = type
 
+    def __repr__(self):
+        return "{}\n  {}".format(object.__repr__(self), str(self))
+
     def __str__(self):
         return frombytes(self.type.get().ToString(), safe=True)
 
     def to_json(self):
+        """Get a JSON string containing type and type parameters

Review Comment:
   ```suggestion
           """Get a JSON string containing type and type parameters.
   ```



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

Reply via email to