bday-boy / aiokemon

An asynchronous Python wrapper for making PokéAPI requests.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Add option to not cache #4

Closed bday-boy closed 1 year ago

bday-boy commented 1 year ago

Loading cache JSONs is slow and doing it every session creates a lot of very unnecessary overhead, especially when a single session just does something simple like load 1 Pokemon.

bday-boy commented 1 year ago

Implemented in this commit. Created an EmptyCache class that: