def restore(self, name, value, pttl=<NUM_LIT:0>):
with self.pipe as pipe:<EOL><INDENT>res = pipe.restore(self.redis_key(name), ttl=pttl, value=value)<EOL>f = Future()<EOL>def cb():<EOL><INDENT>f.set(self.valueparse.decode(res.result))<EOL><DEDENT>pipe.on_execute(cb)<EOL>return f<EOL><DEDENT>
Restore serialized dump of a key back into redis

:param name: the name of the key
:param value: the binary representation of the key.
:param pttl: milliseconds till key expires
:return: