user requests.Session instead of requests.get|post
hellysmile opened this issue · 2 comments
hellysmile commented
It is bad practice to open\close TCP connection for each api request.
Client must create on __init__
requests.Session
and explicitly close it.
simonsolnes commented
How could one fix that @hellysmile?
simonsolnes commented