csparpa / pyowm

A Python wrapper around the OpenWeatherMap web API
https://pyowm.readthedocs.io
MIT License
789 stars 171 forks source link

OpenWeather Map v3 How To Configure Caching #384

Closed dcs3spp closed 2 years ago

dcs3spp commented 2 years ago

Hi,

In previous versions it was possible to customise caching strategy.

Since that time it looks as though OWM25 has been refactored and renamed to OWM. How to specify caching with pyowm v3?

csparpa commented 2 years ago

Hello, since PyOWM version 3 out-of-the-box caching has been dropped. This was a design decision. Therefore caching is to be provided directly by clients of the PyOWM library

dcs3spp commented 2 years ago

Ok, many thanks @csparpa, appreciated :)