(self)
return min(retry_counts) < 0
Are we out of retries?
Are we out of retries?
Are we out of retries?
def is_exhausted(self):
        """ Are we out of retries? """
        retry_counts = (self.total, self.connect, self.read, self.redirect, self.status)
        retry_counts = list(filter(None, retry_counts))
        if not retry_counts:
            return False

        return min(retry_counts) < 0
def is_exhausted ( self ) : retry_counts = ( self . total , self . connect , self . read , self . redirect , self . status ) retry_counts = list ( filter ( None , retry_counts ) ) if not retry_counts : return False return min ( retry_counts ) < 0