Explorar el Código

Trying to solve "couldnt import Dict"

ogert hace 2 años
padre
commit
871175f5e9
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      cdplib/pipeline_selector/PipelineSelector.py

+ 3 - 2
cdplib/pipeline_selector/PipelineSelector.py

@@ -28,8 +28,9 @@ from copy import deepcopy
 from abc import ABC, abstractmethod, abstractproperty
 from abc import ABC, abstractmethod, abstractproperty
 
 
 if sys.version_info >= (3, 8):
 if sys.version_info >= (3, 8):
-    from typing import Callable, TypedDict,\
-    Literal, Dict, Iterable, List, Tuple, Union
+    from typing import *
+    # from typing import Callable, TypedDict,\
+    # Literal, Dict, Iterable, List, Tuple, Union
 else:
 else:
     from typing_extensions import Callable, TypedDict,\
     from typing_extensions import Callable, TypedDict,\
     Literal, Dict, Iterable, List, Tuple, Union
     Literal, Dict, Iterable, List, Tuple, Union