Browse Source

Trying to solve "couldnt import Dict"

ogert 2 years ago
parent
commit
871175f5e9
1 changed files with 3 additions and 2 deletions
  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