@staticmethod
def return_last_value(retry_state):
    """Method used by the retryer to determine the return value of the
        retryer: we return the result of the last attempt.

        See method:`_set_retryer`.
        """
    return retry_state.outcome.result()
