jorisvandenbossche commented on PR #35933: URL: https://github.com/apache/arrow/pull/35933#issuecomment-1841288493
We actually did that somewhat as a follow-up in https://github.com/apache/arrow/pull/36170, defining `__reduce__` on `ExtensionType` (which can be moved to `BaseExtensionType`), but with using the Python APIs instead of the C++ APIs (so using `self.__arrow_ext_deserialize__` instead of `self.ext_type.Deserialize`), which then requires those dunders to be implemented (even when it is wrapping one defined in C++). This can indeed be cleaned up. -- 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]
