def get(self, wrap_exception=False):
if self.has_exception:<EOL><INDENT>if wrap_exception:<EOL><INDENT>raise RetryError(self)<EOL><DEDENT>else:<EOL><INDENT>six.reraise(self.value[<NUM_LIT:0>], self.value[<NUM_LIT:1>], self.value[<NUM_LIT:2>])<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return self.value<EOL><DEDENT>
Return the return value of this Attempt instance or raise an Exception.
If wrap_exception is true, this Attempt is wrapped inside of a
RetryError before being raised.