Skip to content

Do I have to manually cache data? #61

Open
@KiwiFlavoredApollo

Description

@KiwiFlavoredApollo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions