The requests.get methods need a timeout. It is set to 30 seconds for all calls. This should be largely sufficient. Note that the timeout is not a time limit on the entire response download; rather, an exception is raised if the server has not issued a response for timeout seconds, i.e., if no bytes have been received on the underlying socket for timeout seconds
The following changes were necessary
bad-continuation
was removed bypylint
no-self-use
warning was moved to a pluginrequests.get
methods need a timeout. It is set to 30 seconds for all calls. This should be largely sufficient. Note that the timeout is not a time limit on the entire response download; rather, an exception is raised if the server has not issued a response for timeout seconds, i.e., if no bytes have been received on the underlying socket for timeout seconds