Browse Source

missed one union

ogert 2 years ago
parent
commit
35ae22356a
1 changed files with 2 additions and 2 deletions
  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
         """