refactor(weather): add app_build method

This commit is contained in:
2024-07-28 20:26:38 +03:00
parent 48a6cce569
commit 1fb627110d
12 changed files with 254 additions and 199 deletions

View File

@@ -6,10 +6,3 @@ from .model import WeatherResponse
class WeatherApi:
async def get_day(self, location_id: str, date: datetime.date) -> WeatherResponse:
raise NotImplementedError
DEFAULT_API: WeatherApi = None
def get_api() -> WeatherApi:
return DEFAULT_API