Procházet zdrojové kódy

Trying to solve "couldnt import Dict"

ogert před 2 roky
rodič
revize
871175f5e9
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  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