From 12b603ba6f4008da9453a81377aee7ab5e5eb9af Mon Sep 17 00:00:00 2001 From: Laurent Sorber Date: Fri, 19 Apr 2024 08:40:05 +0000 Subject: [PATCH] fix: fix imports when darts is not available --- src/conformal_tights/_darts_forecaster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conformal_tights/_darts_forecaster.py b/src/conformal_tights/_darts_forecaster.py index 73c074e..a997bf7 100644 --- a/src/conformal_tights/_darts_forecaster.py +++ b/src/conformal_tights/_darts_forecaster.py @@ -35,8 +35,8 @@ _LikelihoodMixin, ) except ImportError: - FUTURE_LAGS_TYPE = None - LAGS_TYPE = None + FUTURE_LAGS_TYPE = int + LAGS_TYPE = list[int] class TimeSeries: ...