airflow/models/taskinstance.py
def ready_for_retry(self):
        """
        Checks on whether the task instance is in the right state and timeframe
        to be retried.
        """
        return (self.state == State.UP_FOR_RETRY and
                self.next_retry_datetime() < timezone.utcnow())
def ready_for_retry(self):
        return (self.state == State.UP_FOR_RETRY and
                self.next_retry_datetime() < timezone.utcnow())
def ready_for_retry ( self ) : return ( self . state == State . UP_FOR_RETRY and self . next_retry_datetime ( ) < timezone . utcnow ( ) )
Checks on whether the task instance is in the right state and timeframe
        to be retried.
Checks on whether the task instance is in the right state and timeframe to be retried .