UserCache¶
-
class
dasha.web.extensions.cache.UserCache(namespace)[source]¶ Bases:
objectA class to manage user cache items in namespaces.
- Parameters
- namespacestr
The namespace under which the cache is stored.
Attributes Summary
Methods Summary
__call__(self, opname, \*args, \*\*kwargs)Call self as a function.
get(self, \*args, \*\*kwargs)invalidate(self)Invalidate the cached keys.
set(self, \*args, \*\*kwargs)Attributes Documentation
-
namespace¶
Methods Documentation