I've been unable to access the .precip_type for the hourly and minutely forecast. For example, here is my code: print(forecast.hourly.data[0].precip_type) I get the following error, showing that this is not part of the class: AttributeError: 'HourlyForecastItem' object has no attribute 'precip_type' even though on forecast.py, it exists.
I've been unable to access the .precip_type for the hourly and minutely forecast. For example, here is my code:
print(forecast.hourly.data[0].precip_type)
I get the following error, showing that this is not part of the class:AttributeError: 'HourlyForecastItem' object has no attribute 'precip_type'
even though on forecast.py, it exists.