def spop(self, name):
with self.pipe as pipe:<EOL><INDENT>f = Future()<EOL>res = pipe.spop(self.redis_key(name))<EOL>def cb():<EOL><INDENT>f.set(self.valueparse.decode(res.result))<EOL><DEDENT>pipe.on_execute(cb)<EOL>return f<EOL><DEDENT>
Remove and return (pop) a random element from the Set.

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