AlenkaF commented on code in PR #35933:
URL: https://github.com/apache/arrow/pull/35933#discussion_r1226671566


##########
python/pyarrow/types.pxi:
##########
@@ -1586,6 +1586,10 @@ cdef class FixedShapeTensorType(BaseExtensionType):
     def __arrow_ext_class__(self):
         return FixedShapeTensorArray
 
+    def __reduce__(self):

Review Comment:
   As the logic for the `__arrow_ext_deserialize__` of the 
`FixedShapeTensorType` is happening in C++ we can not use 
`__arrow_ext_deserialize__` and `__arrow_ext_serialize__` to define 
`__reduce__` here.
   
   But we can do that for `ExtensionType class`. I have created a separate 
issue for it: https://github.com/apache/arrow/issues/36038



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