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

Class GatingFs

python/pyarrow/tests/test_dataset.py:4354–4358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4352 # up backpressure. The writes are released at the end of
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())])

Callers 1

Calls

no outgoing calls

Tested by 1