(self)
| 321 | return self.data[commit] |
| 322 | |
| 323 | def read_from_disk(self): |
| 324 | with open(self.path, "r") as f: |
| 325 | data = json.load(f) |
| 326 | data = {commit: dict_to_features(dct) for commit, dct in data.items()} |
| 327 | return data |
| 328 | |
| 329 | def write_to_disk(self): |
| 330 | data = {commit: features._asdict() for commit, features in self.data.items()} |
no test coverage detected