development #1

Merged
AllfatherHatt merged 157 commits from development into master 2025-06-14 15:47:26 +02:00
Showing only changes of commit 62972399a6 - Show all commits

View File

@ -18,7 +18,11 @@ def get_current_weather(location: str) -> str:
def get_weather_forecast(location: str, days: int = 14, dt: str = '2025-03-24') -> str: def get_weather_forecast(location: str, days: int = 14, dt: str = '2025-03-24') -> str:
weather = Weather(location=location) weather = Weather(location=location)
return json.dumps(weather.forecast(days=days, dt=dt)) response = weather.forecast(days=days, dt=dt)
print("DEBUG: Forecast API Response: ", json.dumps(response, ident=2))
return json.dumps(response)
class Weather: class Weather: