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

Do I have to manually cache data? #61

Open
KiwiFlavoredApollo opened this issue Apr 18, 2024 · 0 comments
Open

Do I have to manually cache data? #61

KiwiFlavoredApollo opened this issue Apr 18, 2024 · 0 comments

Comments

@KiwiFlavoredApollo
Copy link

KiwiFlavoredApollo commented Apr 18, 2024

Hello, I have a question about caching data. I wonder if I have to manually call pokebase.cache.save() to save cache.

When sending pokebase.pokemon("charmander") multiple times to Python console, it seems to be requesting data from the server even after the first request.

*I haven't confirmed precisely whether the api call actually tries to retrieve data from the server. I am just guessing since I have to wait couple of seconds before pokebase.pokemon() returns console prompt

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

No branches or pull requests

1 participant