msaStorageDict Module¶
.redis
¶
Classes¶
MSARedisDict ¶
Bases: MSAConnectionStorageDict
Dictionary-style access to a redis hash table. Populates a cache and a local in-memory to avoid multiple hits to the database.
Functions just like you'd expect it::
mydict = MSARedisDict('my_redis_key', Redis())
mydict['test']
# 'bar' #doctest: +SKIP
Last update:
September 24, 2022
Created: September 24, 2022
Created: September 24, 2022