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
Hello,
you might pass a session parameter to Fred object (with default session=None) and initialize session using
session
session=None
def _init_session(self, session): if session is None: session = requests.Session() return session
so it will be possible to cache queries to database using requests-cache http://requests-cache.readthedocs.org/ (optional dependency)
See https://github.com/pydata/pandas-datareader/blob/master/pandas_datareader/base.py https://github.com/pydata/pandas-datareader/blob/master/pandas_datareader/fred.py http://pandas-datareader.readthedocs.org/en/latest/cache.html
Kind regards
PS: maybe we might merge our code ?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hello,
you might pass a
session
parameter to Fred object (with defaultsession=None
)and initialize
session
usingso it will be possible to cache queries to database using requests-cache http://requests-cache.readthedocs.org/ (optional dependency)
See
https://github.com/pydata/pandas-datareader/blob/master/pandas_datareader/base.py
https://github.com/pydata/pandas-datareader/blob/master/pandas_datareader/fred.py
http://pandas-datareader.readthedocs.org/en/latest/cache.html
Kind regards
PS: maybe we might merge our code ?
The text was updated successfully, but these errors were encountered: