Skip to content

Support using other session objects e.g. requests_cache#13

Open
ValueRaider wants to merge 2 commits intoNDelventhal:mainfrom
ValueRaider:session
Open

Support using other session objects e.g. requests_cache#13
ValueRaider wants to merge 2 commits intoNDelventhal:mainfrom
ValueRaider:session

Conversation

@ValueRaider
Copy link

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.

ValueRaider and others added 2 commits April 6, 2024 21:32
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.
@ValueRaider
Copy link
Author

@NDelventhal Can you review & merge? I have plans for a bigger PR next - file caching & data cleaning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments