Try compatibility with Python 3.7
This commit is contained in:
parent
10b41aadac
commit
85d079fab8
10 changed files with 20 additions and 23 deletions
|
|
@ -3,7 +3,6 @@ from typing import (
|
|||
Awaitable,
|
||||
Callable,
|
||||
Iterable,
|
||||
Literal,
|
||||
Optional,
|
||||
Sequence,
|
||||
TypeVar,
|
||||
|
|
@ -12,6 +11,7 @@ from typing import (
|
|||
)
|
||||
|
||||
import dill
|
||||
from typing_extensions import Literal # <= Python 3.7
|
||||
|
||||
from .get_config import get_config
|
||||
from .manage_communication import manage_communication
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ from typing import (
|
|||
Awaitable,
|
||||
Callable,
|
||||
Iterable,
|
||||
Literal,
|
||||
Optional,
|
||||
Sequence,
|
||||
TypeVar,
|
||||
|
|
@ -12,6 +11,8 @@ from typing import (
|
|||
overload,
|
||||
)
|
||||
|
||||
from typing_extensions import Literal # <= Python 3.7
|
||||
|
||||
from .get_config import get_config
|
||||
from .manage_communication import manage_communication
|
||||
from .mapper_function import mapper_function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue