Clear the query cache
(self)
| 199 | return stats |
| 200 | |
| 201 | def clear_cache(self) -> None: |
| 202 | """Clear the query cache""" |
| 203 | with self._cache_lock: |
| 204 | self._query_cache.clear() |
| 205 | self._cache_timestamps.clear() |
| 206 | |
| 207 | if self.logger: |
| 208 | self.logger.info("Query cache cleared") |
| 209 | |
| 210 | def should_use_materialized(self, |
| 211 | data_size: int, |