According to the requests documentation, we should be using a timeout parameter for nearly all requests:
You can tell Requests to stop waiting for a response after a given number of seconds with the timeout parameter. Nearly all production code should use this parameter in nearly all requests. Failure to do so can cause your program to hang indefinitely:
The API has an SLA of 99.5%, so it's likely that in the course of using it, it will time out once in a while and we should be prepared for that.
According to the requests documentation, we should be using a
timeoutparameter for nearly all requests:The API has an SLA of 99.5%, so it's likely that in the course of using it, it will time out once in a while and we should be prepared for that.