@contextmanager
def disabled():
    previous = requests.Session
    uninstall_cache()
    try:
        yield
    finally:
        _patch_session_factory(previous)
Context manager for temporary disabling globally installed cache
dataset/ETHPy150Open reclosedev/requests-cache/requests_cache/core.py/disabled