Spaces:
Sleeping
Sleeping
fix type
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ def get_population(country:str)-> str: #it's import to specify the return type
|
|
| 56 |
|
| 57 |
|
| 58 |
@tool
|
| 59 |
-
def get_weather(city:str) ->
|
| 60 |
"""Fetches weather data from WeatherAPI and returns a simplified dictionary.
|
| 61 |
|
| 62 |
Args:
|
|
|
|
| 56 |
|
| 57 |
|
| 58 |
@tool
|
| 59 |
+
def get_weather(city:str) -> SimpleWeather:
|
| 60 |
"""Fetches weather data from WeatherAPI and returns a simplified dictionary.
|
| 61 |
|
| 62 |
Args:
|