Closed tobin-ford closed 7 months ago
Restored the META_MAP dictionary in weather.get()
Fixes: Value Error from undefined variable inside weather,get()
To reproduce: run the following code on development branch
weather_db = 'PSM3' weather_id = (25.783388, -80.189029) weather_arg = {'api_key': 'DEMO_KEY', 'email': 'user@mail.com', 'names': 'tmy', 'attributes': [], 'map_variables': True} weather_df, meta = pvdeg.weather.get(weather_db, weather_id, **weather_arg)
Highlights the need for more testing. get() does not have any pytests currently as they are commented out?
Describe your changes
Restored the META_MAP dictionary in weather.get()
Fixes: Value Error from undefined variable inside weather,get()
To reproduce: run the following code on development branch
Type of change
Checklist before requesting a review