forked from React-Group/interstellar_ai
weather.py comments
This commit is contained in:
parent
770fca579e
commit
237909c164
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ class Weather:
|
||||||
async with python_weather.Client(unit=unit_type) as client:
|
async with python_weather.Client(unit=unit_type) as client:
|
||||||
weather = await client.get(city)
|
weather = await client.get(city)
|
||||||
|
|
||||||
|
# Collect weather data
|
||||||
data = {
|
data = {
|
||||||
"temperature": weather.temperature,
|
"temperature": weather.temperature,
|
||||||
"humidity": weather.humidity,
|
"humidity": weather.humidity,
|
||||||
|
|
Loading…
Reference in a new issue