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

Method open_output_stream

python/pyarrow/tests/test_dataset.py:4349–4352  ·  view source on GitHub ↗
(self, path, metadata)

Source from the content-addressed store, hash-verified

4347 # the test.
4348 class GatingFs(ProxyHandler):
4349 def open_output_stream(self, path, metadata):
4350 # Block until the end of the test
4351 consumer_gate.wait()
4352 return self._fs.open_output_stream(path, metadata=metadata)
4353 gating_fs = fs.PyFileSystem(GatingFs(fs.LocalFileSystem()))
4354
4355 schema = pa.schema([pa.field('data', pa.int32())])

Calls

no outgoing calls

Tested by

no test coverage detected