(self, commit)
| 314 | os.makedirs(Path(path).parent, exist_ok=True) |
| 315 | |
| 316 | def get(self, commit): |
| 317 | if commit not in self.data.keys(): |
| 318 | # Fetch and cache the data |
| 319 | self.data[commit] = get_features(commit) |
| 320 | self.write_to_disk() |
| 321 | return self.data[commit] |
| 322 | |
| 323 | def read_from_disk(self): |
| 324 | with open(self.path, "r") as f: |
no test coverage detected