Closed deefrawley closed 3 years ago
@deefrawley thanks for pointing this out, it's a bug in the docs
The line pressure_dict = mgr.weather_at_place('Berlin,DE').observation.pressure
should be
pressure_dict = mgr.weather_at_place('Berlin,DE').weather.pressure
No worries - I guess a documentation fix is much easier than code fix :)
Fixed with 0eb016b29bda31f04284db3817d507de06f4a5f6
Code taken directly from the online documentation:
gives the following error
Happens for the rainfall example as well. Someone has also posted this on Stack Overflow