def make_key ( self , key , version = None ) : return '{}:{}:{}' . format ( self . prefix , version or self . version , key , )
python redis all keys with a prefix
RedisCache will set prefix + version as prefix for each key .
def make_key(self, key, version=None):
        """RedisCache will set prefix+version as prefix for each key."""
        return '{}:{}:{}'.format(
            self.prefix,
            version or self.version,
            key,
        )