From a4dbdb549d772b488305cb12727c5a8375b0cb2d Mon Sep 17 00:00:00 2001 From: Italo Date: Wed, 19 Jan 2022 01:37:47 +0000 Subject: [PATCH] added type spec --- freqtrade/optimize/hyperopt_auto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/optimize/hyperopt_auto.py b/freqtrade/optimize/hyperopt_auto.py index 6e5628e87..e7843ff55 100644 --- a/freqtrade/optimize/hyperopt_auto.py +++ b/freqtrade/optimize/hyperopt_auto.py @@ -91,5 +91,5 @@ class HyperOptAuto(IHyperOpt): def trailing_space(self) -> List['Dimension']: return self._get_func('trailing_space')() - def generate_estimator(self, dimensions) -> EstimatorType: + def generate_estimator(self, dimensions: List['Dimension']) -> EstimatorType: return self._get_func('generate_estimator')(dimensions)