Lines Matching refs:num_retries
131 def _retry_request(http, num_retries, req_type, sleep, rand, uri, method, *args, argument
152 for retry_num in range(num_retries + 1):
158 sleep_time, retry_num, num_retries, req_type, method, uri,
182 if retry_num == num_retries:
661 def next_chunk(self, num_retries=0): argument
685 http, num_retries, 'media download', self._sleep, self._rand, self._uri,
797 def execute(self, http=None, num_retries=0): argument
822 _, body = self.next_chunk(http=http, num_retries=num_retries)
845 http, num_retries, 'request', self._sleep, self._rand, str(self.uri),
867 def next_chunk(self, http=None, num_retries=0): argument
921 http, num_retries, 'resumable URI request', self._sleep, self._rand,
973 for retry_num in range(num_retries + 1):