cot_reports
cot_reports copied to clipboard
Support using other session objects e.g. requests_cache
Refactor cot_reports.py to put functions in new class with session property.
User API not changed - original functions simply pass-through to class instance.
New API function set_session, for user to pass through a different session object - example in README.
@NDelventhal Can you review & merge? I have plans for a bigger PR next - file caching & data cleaning.