Rename Forecast.training_horizon into .train_horizon
- we use that shorter name in `urban_meal_delivery.forecasts.*` and want to be consistent in the ORM layer as well
This commit is contained in:
parent
6fd16f2a6c
commit
3f5b4a50bb
5 changed files with 63 additions and 15 deletions
|
|
@ -140,7 +140,7 @@ class TestGenericForecastingModelProperties:
|
|||
assert isinstance(result, db.Forecast)
|
||||
assert result.pixel == pixel
|
||||
assert result.start_at == predict_at
|
||||
assert result.training_horizon == test_config.LONG_TRAIN_HORIZON
|
||||
assert result.train_horizon == test_config.LONG_TRAIN_HORIZON
|
||||
|
||||
@pytest.mark.db
|
||||
@pytest.mark.r
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue