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

Method open_output_stream

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

Source from the content-addressed store, hash-verified

4353 # the test.
4354 class GatingFs(ProxyHandler):
4355 def open_output_stream(self, path, metadata):
4356 # Block until the end of the test
4357 consumer_gate.wait()
4358 return self._fs.open_output_stream(path, metadata=metadata)
4359 gating_fs = fs.PyFileSystem(GatingFs(fs.LocalFileSystem()))
4360
4361 schema = pa.schema([pa.field('data', pa.int32())])

Calls

no outgoing calls

Tested by

no test coverage detected