(self, path)
| 410 | return PythonFile(self.fs.open(path, mode="rb"), mode="r") |
| 411 | |
| 412 | def open_input_file(self, path): |
| 413 | from pyarrow import PythonFile |
| 414 | |
| 415 | if not self.fs.isfile(path): |
| 416 | raise FileNotFoundError(path) |
| 417 | |
| 418 | return PythonFile(self.fs.open(path, mode="rb"), mode="r") |
| 419 | |
| 420 | def open_output_stream(self, path, metadata): |
| 421 | from pyarrow import PythonFile |