jorisvandenbossche commented on code in PR #43590:
URL: https://github.com/apache/arrow/pull/43590#discussion_r1756836879
##########
python/pyarrow/includes/libarrow.pxd:
##########
@@ -366,6 +366,7 @@ cdef extern from "arrow/api.h" namespace "arrow" nogil:
shared_ptr[CDevice] device()
const shared_ptr[CMemoryManager] memory_manager()
CDeviceAllocationType device_type()
+ CResult[shared_ptr[CBuffer]] Copy(shared_ptr[CBuffer] source, const
shared_ptr[CMemoryManager]& to) const
Review Comment:
Ah, good catch. It does seem to work right now as well, but so how we do it
for other static methods is to decorate it here with `@staticmethod` and then
in the code use it as such (`CBuffer.Copy(self.buffer, ...)`)
See for example `CTable` `Make` method in this file.
--
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]