We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Avoid to set requests_cache globally, which can interfere with requests module used elsewhere
Consider move these two lines into load_annotations function and disable the cache when parsing is done: https://github.com/marcodarko/litcovid/blob/d217e29e3af4218a9f19812cb51fd9f411d22e0c/parser.py#L20
load_annotations
This can be done using this context manager: https://requests-cache.readthedocs.io/en/latest/api.html#requests_cache.core.enabled
The text was updated successfully, but these errors were encountered:
marcodarko
No branches or pull requests
Avoid to set requests_cache globally, which can interfere with requests module used elsewhere
Consider move these two lines into
load_annotations
function and disable the cache when parsing is done:https://github.com/marcodarko/litcovid/blob/d217e29e3af4218a9f19812cb51fd9f411d22e0c/parser.py#L20
This can be done using this context manager:
https://requests-cache.readthedocs.io/en/latest/api.html#requests_cache.core.enabled
The text was updated successfully, but these errors were encountered: