Try compatibility with Python 3.7
This commit is contained in:
parent
10b41aadac
commit
85d079fab8
10 changed files with 20 additions and 23 deletions
|
|
@ -1,19 +1,8 @@
|
|||
from functools import wraps
|
||||
from typing import (
|
||||
Any,
|
||||
Callable,
|
||||
Dict,
|
||||
List,
|
||||
Literal,
|
||||
Optional,
|
||||
Set,
|
||||
Tuple,
|
||||
TypeVar,
|
||||
Union,
|
||||
cast,
|
||||
)
|
||||
from typing import Any, Callable, Dict, List, Optional, Set, Tuple, TypeVar, Union, cast
|
||||
|
||||
from dill import load
|
||||
from typing_extensions import Literal # <= Python 3.7
|
||||
|
||||
from ..context import get_context
|
||||
from ..helper import get_function_metadata_store
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue