MCPcopy Create free account
hub / github.com/apache/arrow-rs / StreamWrapper

Class StreamWrapper

arrow-pyarrow-integration-testing/tests/test_sql.py:172–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171
172class StreamWrapper(ArrowStreamExportable):
173 def __init__(self, stream: ArrowStreamExportable) -> None:
174 self.stream = stream
175
176 def __arrow_c_stream__(self, requested_schema: Union[object, None] = None) -> object:
177 return self.stream.__arrow_c_stream__(requested_schema=requested_schema)
178
179
180@pytest.mark.parametrize("pyarrow_type", _supported_pyarrow_types, ids=str)

Callers 3

test_table_pycapsuleFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_table_pycapsuleFunction · 0.68