added type spec

This commit is contained in:
Italo 2022-01-19 01:37:47 +00:00
parent a6a127f596
commit a4dbdb549d

View File

@ -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)