Skip to content

Commit 8ead872

Browse files
committed
fix
1 parent df4c938 commit 8ead872

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nowcasting_datamodel/fake.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,6 @@ def make_fake_me_latest(session: Session):
280280
gsp_id=0, session=session, installed_capacity_mw=14000, label=national_gb_label
281281
)
282282

283-
model = get_model(session=session, name="fake_model", version="0.1.2")
284-
285283
session.add_all([location, datetime_interval, metric])
286284

287285
metric_values = []
@@ -296,7 +294,7 @@ def make_fake_me_latest(session: Session):
296294
datetime_interval=datetime_interval,
297295
metric=metric,
298296
location=location,
299-
model=model,
297+
model_name="fake_model",
300298
)
301299
metric_values.append(m)
302300

0 commit comments

Comments
 (0)