Skip to content

Commit f1aa9db

Browse files
committed
fix compatibility
1 parent f511243 commit f1aa9db

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fast_depends/use.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from contextlib import AsyncExitStack, ExitStack
22
from functools import wraps
3-
from typing import Any, Awaitable, Callable, Optional, ParamSpec, TypeVar, Union
3+
from typing import Any, Awaitable, Callable, Optional, Union
44

5+
from typing_extensions import ParamSpec, TypeVar
56
from fast_depends.core import CallModel, build_call_model
67
from fast_depends.dependencies import dependency_provider, model
78

fast_depends/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
ForwardRef,
1111
Iterable,
1212
List,
13-
ParamSpec,
1413
Tuple,
15-
TypeVar,
1614
)
1715

1816
import anyio
17+
from typing_extensions import ParamSpec, TypeVar
1918

2019
from fast_depends._compat import evaluate_forwardref
2120

0 commit comments

Comments
 (0)