Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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