refactor(weather): add app_build method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user