Classes | |
class | RestClient |
Functions | |
def | requests_retry_session (retries=3, backoff_factor=0.3, status_forcelist=[429], session=None) |
def rc_reason_clients.rest_client.requests_retry_session | ( | retries = 3 , |
|
backoff_factor = 0.3 , |
|||
status_forcelist = [429] , |
|||
session = None |
|||
) |
" A requests session that will retry on TOO_MANY_REQUESTS. E.g. replace requests.get() with requests_retry_session().get()
Definition at line 47 of file rest_client.py.