Skip to content

Commit ca20595

Browse files
authored
fix: fix imports when darts is not available (#16)
1 parent 14d63b0 commit ca20595

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/conformal_tights/_darts_forecaster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
_LikelihoodMixin,
3636
)
3737
except ImportError:
38-
FUTURE_LAGS_TYPE = None
39-
LAGS_TYPE = None
38+
FUTURE_LAGS_TYPE = int
39+
LAGS_TYPE = list[int]
4040

4141
class TimeSeries: ...
4242

0 commit comments

Comments
 (0)