feat: add redis cache

This commit is contained in:
2024-08-21 22:53:50 +03:00
parent 0638fb8d50
commit d3ef03a6a0
19 changed files with 194 additions and 24 deletions

View File

@@ -1,9 +1,11 @@
import datetime
from ..api import Api
from .model import WeatherResponse
class WeatherApi:
class WeatherApi(Api):
async def get_locations(self) -> list[str]:
raise NotImplementedError