File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
nowcasting_datamodel/read Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 12
12
from sqlalchemy .orm import contains_eager , joinedload
13
13
from sqlalchemy .orm .session import Session
14
14
15
-
16
15
from nowcasting_datamodel import N_GSP
17
16
from nowcasting_datamodel .models import (
18
17
ForecastSQL ,
@@ -301,6 +300,7 @@ def get_latest_forecast_for_gsps(
301
300
)
302
301
303
302
from sqlalchemy import text
303
+
304
304
if forecast_horizon_hours is not None :
305
305
assert historic is False , Exception (
306
306
"Loading a forecast horizon only works on non latest data."
Original file line number Diff line number Diff line change 24
24
)
25
25
from nowcasting_datamodel .read .read import (
26
26
get_all_gsp_ids_latest_forecast ,
27
- get_latest_forecast_for_gsps ,
28
27
get_all_locations ,
29
28
get_forecast_values ,
30
29
get_latest_forecast ,
31
30
get_latest_forecast_created_utc ,
31
+ get_latest_forecast_for_gsps ,
32
32
get_latest_input_data_last_updated ,
33
33
get_latest_national_forecast ,
34
34
get_latest_status ,
You can’t perform that action at this time.
0 commit comments