No more naughty, all is fine
This commit is contained in:
parent
931d1b7298
commit
cc4e7ae528
@ -24,7 +24,7 @@ def get_weather_forecast(location: str, days: int = 14, dt: str = '2025-03-24')
|
||||
class Weather:
|
||||
def __init__(self, location: str):
|
||||
self.__location = location
|
||||
self.api_key = "f6e5cb73cae242deb2b63903250803"
|
||||
self.api_key = environ.get('WEATHER_API_KEY')
|
||||
|
||||
@property
|
||||
def location(self) -> str:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user