Doing naughty stuff, don't look

This commit is contained in:
AllfatherHatt 2025-03-16 13:18:11 +01:00
parent de39425587
commit 931d1b7298

View File

@ -24,8 +24,8 @@ def get_weather_forecast(location: str, days: int = 14, dt: str = '2025-03-24')
class Weather: class Weather:
def __init__(self, location: str): def __init__(self, location: str):
self.__location = location self.__location = location
self.api_key = environ.get('WEATHER-API_KEY') self.api_key = "f6e5cb73cae242deb2b63903250803"
@property @property
def location(self) -> str: def location(self) -> str:
return self.__location return self.__location