def hmget(self, name, keys, *args):
member_encode = self.memberparse.encode<EOL>keys = [k for k in self._parse_values(keys, args)]<EOL>with self.pipe as pipe:<EOL><INDENT>f = Future()<EOL>res = pipe.hmget(self.redis_key(name),<EOL>[member_encode(k) for k in keys])<EOL>def cb():<EOL><INDENT>f.set([self._value_decode(keys[i], v)<EOL>for i, v in enumerate(res.result)])<EOL><DEDENT>pipe.on_execute(cb)<EOL>return f<EOL><DEDENT>
Returns the values stored in the fields.

:param name: str     the name of the redis key
:param fields:
:return: Future()