(ws, reader, session)
| 371 | |
| 372 | @staticmethod |
| 373 | def _read_all_data(ws, reader, session): |
| 374 | dst_ds = make_destination_dataset(ws, reader.schema().clone_schema()) |
| 375 | |
| 376 | with TaskGroup() as tg: |
| 377 | pipe(reader, dst_ds.writer(), num_runtime_threads=8) |
| 378 | session.run(tg) |
| 379 | |
| 380 | return ws.blobs[str(dst_ds.content().label())].fetch() |
| 381 | |
| 382 | @unittest.skipIf("LevelDB" not in core.C.registered_dbs(), "Need LevelDB") |
| 383 | def test_cached_reader(self): |
no test coverage detected