@contextmanager
def enabled(*args, **kwargs):
    install_cache(*args, **kwargs)
    try:
        yield
    finally:
        uninstall_cache()
Context manager for temporary installing global cache.
dataset/ETHPy150Open reclosedev/requests-cache/requests_cache/core.py/enabled