Clear all cache entries and remove cache file.
(self)
| 293 | self._save_cache() |
| 294 | |
| 295 | def clear_cache(self) -> None: |
| 296 | """Clear all cache entries and remove cache file.""" |
| 297 | self.cache.clear() |
| 298 | if self.cache_file.exists(): |
| 299 | self.cache_file.unlink() |
| 300 | |
| 301 | |
| 302 | @dataclass(slots=True) |