'This method is deprecated. Please use :func:`request_cache.get_cache`.'

@classmethod
def get_request_cache(cls, name=None):

    if (name is None):
        return REQUEST_CACHE
    else:
        return REQUEST_CACHE.data.setdefault(name, {})
