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

Method open_input_file

python/pyarrow/tests/test_fs.py:134–138  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

132 return pa.BufferReader(data)
133
134 def open_input_file(self, path):
135 if "notfound" in path:
136 raise FileNotFoundError(path)
137 data = f"{path}:input_file".encode('utf8')
138 return pa.BufferReader(data)
139
140 def open_output_stream(self, path, metadata):
141 if "notfound" in path:

Callers 2

test_open_input_fileFunction · 0.45
test_py_open_input_fileFunction · 0.45

Calls 2

BufferReaderMethod · 0.80
encodeMethod · 0.45

Tested by

no test coverage detected