def get(self, alias: str):
try:<EOL><INDENT>return self._caches[alias]<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>config = self.get_alias_config(alias)<EOL>cache = _create_cache(**deepcopy(config))<EOL>self._caches[alias] = cache<EOL>return cache<EOL>
Retrieve cache identified by alias. Will return always the same instance

If the cache was not instantiated yet, it will do it lazily the first time
this is called.

:param alias: str cache alias
:return: cache instance