(self, path)
| 40 | |
| 41 | class IndexedDatasetBuilder: |
| 42 | def __init__(self, path): |
| 43 | self.path = path |
| 44 | self.out_file = open(f"{path}.data", 'wb') |
| 45 | self.byte_offsets = [0] |
| 46 | |
| 47 | def add_item(self, item): |
| 48 | s = pickle.dumps(item) |
nothing calls this directly
no outgoing calls
no test coverage detected