Trying to debug the weather, so many mayflies
This commit is contained in:
parent
ac14895381
commit
341a68c045
@ -20,9 +20,8 @@ def get_weather_forecast(location: str, days: int = 14, dt: str = '2025-03-24')
|
|||||||
weather = Weather(location=location)
|
weather = Weather(location=location)
|
||||||
response = weather.forecast(days=days, dt=dt)
|
response = weather.forecast(days=days, dt=dt)
|
||||||
|
|
||||||
print("DEBUG: Forecast API Response: ", json.dumps(response, indent=2))
|
print(f"DEBUG: Forecast API Response: {response}")
|
||||||
|
return json.dumps(weather.forecast(days=days, dt=dt))
|
||||||
return json.dumps(response)
|
|
||||||
|
|
||||||
|
|
||||||
class Weather:
|
class Weather:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user