def _write(self, ret):
self.redis.set('<STR_LIT>'.format(ret['<STR_LIT:id>'], ret['<STR_LIT>']), json.dumps(ret))<EOL>self.redis.lpush('<STR_LIT>'.format(ret['<STR_LIT:id>'], ret['<STR_LIT>']), ret['<STR_LIT>'])<EOL>self.redis.sadd('<STR_LIT>', ret['<STR_LIT:id>'])<EOL>self.redis.sadd('<STR_LIT>', ret['<STR_LIT>'])<EOL>
This function needs to correspond to this:
https://github.com/saltstack/salt/blob/develop/salt/returners/redis_return.py#L88