

def __setitem__(self, key, value):
    key.conn.hset(self.keyspace, key, value)
    if (value != self._local_cache.get(key)):
        self._local_cache[key] = value
    self._populate(reset=True)

dataset/ETHPy150Open disqus/django-modeldict/modeldict/redis.py RedisDict.__setitem__/VarMisuse@14/16 `self`->`key`