aiocache
aiocache copied to clipboard
`build_key(key, namespace)` is missing from some modules/classes
There are some parts of aiocache
that do not honor namespace
s. This means that BaseCache.build_key(key, namespace)
is never called to join the namespace
with the key
. The affected modules/classes are:
-
decorators.cached
-
plugins.HitMissRatioPlugin
-
backends.memory.SimpleMemoryCache
This affects sharing an alias
ed cache across multiple @cached
-decorated callables. This currently works only when namespace==None
.
A PR will be submitted shortly.