MCPcopy Create free account
hub / github.com/apache/arrow / __init__

Method __init__

python/pyarrow/interchange/buffer.py:52–56  ·  view source on GitHub ↗

Handle PyArrow Buffers.

(self, x: pa.Buffer, allow_copy: bool = True)

Source from the content-addressed store, hash-verified

50 """
51
52 def __init__(self, x: pa.Buffer, allow_copy: bool = True) -> None:
53 """
54 Handle PyArrow Buffers.
55 """
56 self._x = x
57
58 @property
59 def bufsize(self) -> int:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected