Clear all cache entries
(self)
| 141 | del self._cache[key] |
| 142 | |
| 143 | def clear(self): |
| 144 | """Clear all cache entries""" |
| 145 | with self._cache_lock: |
| 146 | self._cache.clear() |
| 147 | |
| 148 | def _get_compute_lock(self, key: str) -> threading.Lock: |
| 149 | """Get or create a lock for a specific cache key""" |
no outgoing calls
no test coverage detected