| 148 | } |
| 149 | |
| 150 | Result<std::shared_ptr<io::InputStream>> PyFileSystem::OpenInputStream( |
| 151 | const std::string& path) { |
| 152 | std::shared_ptr<io::InputStream> stream; |
| 153 | auto st = SafeCallIntoPython([&]() -> Status { |
| 154 | vtable_.open_input_stream(handler_.obj(), path, &stream); |
| 155 | return CheckPyError(); |
| 156 | }); |
| 157 | RETURN_NOT_OK(st); |
| 158 | return stream; |
| 159 | } |
| 160 | |
| 161 | Result<std::shared_ptr<io::RandomAccessFile>> PyFileSystem::OpenInputFile( |
| 162 | const std::string& path) { |
nothing calls this directly
no test coverage detected