Fix the type annotation of Forecast.from_dataframe()

This commit is contained in:
Alexander Hess 2026-12-01 00:27:29 +01:00
commit 01416a1175
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -191,7 +191,7 @@ class Forecast(meta.Base):
time_step: int,
train_horizon: int,
model: str,
data: pd.Dataframe,
data: pd.DataFrame,
) -> list[db.Forecast]:
"""Convert results from the forecasting `*Model`s into `Forecast` objects.