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

Function example_messages

python/pyarrow/tests/test_ipc.py:750–755  ·  view source on GitHub ↗
(stream_fixture)

Source from the content-addressed store, hash-verified

748
749@pytest.fixture
750def example_messages(stream_fixture):
751 batches = stream_fixture.write_batches()
752 file_contents = stream_fixture.get_source()
753 buf_reader = pa.BufferReader(file_contents)
754 reader = pa.MessageReader.open_stream(buf_reader)
755 return batches, list(reader)
756
757
758def test_message_ctors_no_segfault():

Callers

nothing calls this directly

Calls 4

listFunction · 0.85
write_batchesMethod · 0.80
get_sourceMethod · 0.80
BufferReaderMethod · 0.80

Tested by

no test coverage detected