code: def session(self):
          
          if self._session is None:
              self._session = cachecontrol.CacheControl(
                  requests.Session(),
                  cache=caches.FileCache('.tvdb_cache'))
          return self._session
docs: Provide access to request session with local cache enabled.