12 lines
306 B
Python
12 lines
306 B
Python
import datetime
|
|
|
|
from .model import WeatherResponse
|
|
|
|
|
|
class WeatherApi:
|
|
async def get_day(self, location_id: str, date: datetime.date) -> WeatherResponse:
|
|
raise NotImplementedError
|
|
|
|
async def get_days(self, location_id: str, days: int) -> WeatherResponse:
|
|
raise NotImplementedError
|