weather.py comments

This commit is contained in:
sageTheDM 2024-10-11 10:15:11 +02:00
parent 770fca579e
commit 237909c164

View file

@ -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,