• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FlexMeasures / flexmeasures / 20609169276

31 Dec 2025 12:41AM UTC coverage: 73.628% (-0.04%) from 73.669%
20609169276

push

github

web-flow
Feat/add fetch forecasts endpoint (#1823)

* Feat: add endpoint to trigger forecasting job for a sensor

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* chore: update tags for trigger_forecast to sensors

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* style: run pre-commit.

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* chore: remove unused imports

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: add source parameter to forecaster instantiation in SensorAPI

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: allow dynamic model selection for forecaster instantiation in SensorAPI if model passed in as field in api call

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: return bdf from prediction pipeline upon successful completion

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: return forecasts from run_cycle in TrainPredictPipeline

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: return forecasts list from run_cycle in TrainPredictPipeline

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* fix: correctly pass as_job param in forecasting parameters

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: return forecasts in dict forma with data and sensor fields

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: initialize jobs list before while loop so we can store all jobs created

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: initialize return_values to store forecasts and jobs in TrainPredictPipeline

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: append forecasts and sensor data to return_values in run_cycle

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: remove unuse... (continued)

1412 of 2071 branches covered (68.18%)

Branch coverage included in aggregate %.

74 of 107 new or added lines in 7 files covered. (69.16%)

4 existing lines in 3 files now uncovered.

10445 of 14033 relevant lines covered (74.43%)

5.95 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

63.3
/flexmeasures/api/common/utils/api_utils.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc