SolarArbiter / solarforecastarbiter-api

HTTP API and database schema for the Solar Forecast Arbiter
https://api.solarforecastarbiter.org
MIT License
10 stars 6 forks source link

Add defaults for optional object pair fields #258

Closed lboeman closed 4 years ago

lboeman commented 4 years ago

Adds defaults for Report Object pairs so that API responses always contain each field. Also updates the deterministic type value to deterministic_forecast as suggested in https://github.com/SolarArbiter/solarforecastarbiter-core/issues/425.
The defaults are: uncertainty: None reference_forecast: None forecast_type: 'forecast'