'Context manager for temporary disabling cache
>>> s = CachedSession()
>>> with s.cache_disabled():
...     s.get(\'http://httpbin.org/ip\')'

@contextmanager
def cache_disabled(self):

    self._is_cache_disabled = True
    try:
        (yield)
    finally:
        self._is_cache_disabled = False
