Explorar o código

Trying to solve "couldnt import Dict"

ogert %!s(int64=2) %!d(string=hai) anos
pai
achega
871175f5e9
Modificáronse 1 ficheiros con 3 adicións e 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
 
 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:
     from typing_extensions import Callable, TypedDict,\
     Literal, Dict, Iterable, List, Tuple, Union