|
@@ -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
|