Skip to content

Commit

Permalink
Fix Typing on OWM OneCall's forecast params
Browse files Browse the repository at this point in the history
  • Loading branch information
dsem committed May 21, 2022
1 parent f27876f commit 03bdca0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyowm/weatherapi25/one_call.py
@@ -1,4 +1,4 @@
from typing import Union, Optional
from typing import Union, Optional, List

from pyowm.commons import exceptions
from pyowm.utils import geo
Expand All @@ -13,9 +13,9 @@ def __init__(self,
lon: Union[int, float],
timezone: str,
current: Weather,
forecast_minutely: Optional[Weather] = None,
forecast_hourly: Optional[Weather] = None,
forecast_daily: Optional[Weather] = None,
forecast_minutely: Optional[List[Weather]] = None,
forecast_hourly: Optional[List[Weather]] = None,
forecast_daily: Optional[List[Weather]] = None,
national_weather_alerts: Optional[list] = None
) -> None:
geo.assert_is_lat(lat)
Expand Down

0 comments on commit 03bdca0

Please sign in to comment.