Currently, reports.py:fetch_reports() creates a new HTTPSession for every lookup, because it doesn't know when to close it. This function should probably be converted into a class to make it stateful and add a close() method to it, just like BaseAnisetteProvider and the gang.
Currently,
reports.py:fetch_reports()
creates a newHTTPSession
for every lookup, because it doesn't know when to close it. This function should probably be converted into a class to make it stateful and add aclose()
method to it, just likeBaseAnisetteProvider
and the gang.