Преглед изворни кода

Trying to solve "couldnt import Dict"

ogert пре 3 година
родитељ
комит
871175f5e9
1 измењених фајлова са 3 додато и 2 уклоњено
  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