def __setitem__(self, key, value):
        self.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__/original