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

Method __init__

python/pyarrow/tests/test_ipc.py:47–49  ·  view source on GitHub ↗
(self, sink_factory=lambda: io.BytesIO())

Source from the content-addressed store, hash-verified

45 write_stats = None
46
47 def __init__(self, sink_factory=lambda: io.BytesIO()):
48 self._sink_factory = sink_factory
49 self.sink = self.get_sink()
50
51 def get_sink(self):
52 return self._sink_factory()

Callers

nothing calls this directly

Calls 1

get_sinkMethod · 0.95

Tested by

no test coverage detected