def backoff_time(self, response: requests.Response) -> Optional[float]:
    '\n        We dont need to check the response.status_code == 429 since this header exists only in this case.\n        '
    retry_after = response.headers.get('Retry-After')
    if retry_after:
        return float(retry_after)
We dont need to check the response.status_code == 429 since this header exists only in this case.
def backoff_time(self, response: requests.Response) -> Optional[float]:
    '\n        \n        '
    retry_after = response.headers.get('Retry-After')
    if retry_after:
        return float(retry_after)