def mget(self, keys, *args):
with self.pipe as pipe:<EOL><INDENT>f = Future()<EOL>core = self.core(pipe=pipe)<EOL>keys = [k for k in self._parse_values(keys, args)]<EOL>mapping = {k: core.hget(self.shard(k), k) for k in keys}<EOL>def cb():<EOL><INDENT>f.set([mapping[k] for k in keys])<EOL><DEDENT>pipe.on_execute(cb)<EOL>return f<EOL><DEDENT>
Returns a list of values ordered identically to ``keys``