feat(easel): add api provider

This commit is contained in:
2026-06-24 16:00:39 +03:00
parent 657a62eab5
commit e37ca6eeac
12 changed files with 124 additions and 53 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ CACHE_PRESET = DEFAULT_CACHE_PRESET
class CachedWeatherApi(WeatherApi, CachedApi[WeatherApi]):
CACHE_KEY = "weather"
CACHE_KEY = WeatherApi.TYPE
@cached(
key_builder=lambda fun, self, query: f"api.{self.CACHE_KEY}.{self.provider}.locations.{query}",