Set cache value
(self, key: str, value: Any)
| 130 | return entry.data |
| 131 | |
| 132 | def set(self, key: str, value: Any): |
| 133 | """Set cache value""" |
| 134 | with self._cache_lock: |
| 135 | self._cache[key] = CacheEntry(data=value, timestamp=datetime.now()) |
| 136 | |
| 137 | def invalidate(self, key: str): |
| 138 | """Invalidate a specific cache entry""" |
no test coverage detected