def _get_cached_response(self):
        """Returns a file object of the cached response."""

        if not self._is_cached():
            response = self._download_response()
            self.cache.set_xml(self._get_cache_key(), response)

        return self.cache.get_xml(self._get_cache_key())
def _get_cached_response ( self ) : if not self . _is_cached ( ) : response = self . _download_response ( ) self . cache . set_xml ( self . _get_cache_key ( ) , response ) return self . cache . get_xml ( self . _get_cache_key ( ) )
Returns a file object of the cached response.