def _get_cache_plus_key(self):

        dogpile_region = self.cache_regions[self._cache_region.region]
        if self._cache_region.cache_key:
            key = self._cache_region.cache_key
        else:
            key = _key_from_query(self)
        return dogpile_region, key
Return a cache region plus key.
dataset/ETHPy150Open zzzeek/sqlalchemy/examples/dogpile_caching/caching_query.py/CachingQuery._get_cache_plus_key