(self)
Sleep between retry attempts using an exponential backoff.

        By default, the backoff factor is 0 and this method will return
        immediately.
Sleep between retry attempts using an exponential backoff.
Sleep between retry attempts using an exponential backoff .
def sleep(self):
        """ Sleep between retry attempts using an exponential backoff.

        By default, the backoff factor is 0 and this method will return
        immediately.
        """
        backoff = self.get_backoff_time()
        if backoff <= 0:
            return
        time.sleep(backoff)
def sleep ( self ) : backoff = self . get_backoff_time ( ) if backoff <= 0 : return time . sleep ( backoff )