MCPcopy Create free account
hub / github.com/DeepL/deepl-python / get_num_retries

Method get_num_retries

deepl/http_client.py:39–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37 self._deadline = time.time() + self._backoff
38
39 def get_num_retries(self):
40 return self._num_retries
41
42 def get_timeout(self):
43 return max(self.get_time_until_deadline(), min_connection_timeout)

Callers 1

request_with_backoffMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected