浏览代码

missed one union

ogert 3 年之前
父节点
当前提交
35ae22356a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      cdplib/hyperopt/HyperoptPipelineSelector.py

+ 2 - 2
cdplib/hyperopt/HyperoptPipelineSelector.py

@@ -362,8 +362,8 @@ class HyperoptPipelineSelector(PipelineSelector):
 
             self._logger.log_and_raise_error(err)
 
-    def get_n_best_trial(self, n: int)\
-            -> Union[List[Pipeline], None]:
+    def get_n_best_trial(self, n: int):#\
+            # -> Union[List[Pipeline], None]:
         """
         :return: the list of n best trails
         """