Context manager to not use the cache system.
Source code in src/xpdeep/cache.py
| @contextmanager
def no_cache() -> Generator[None, None, None]:
"""Context manager to not use the cache system."""
token = USE_CACHE.set(False)
yield
USE_CACHE.reset(token)
|