Skip to content

Commit 38a8a3d

Browse files
ref(crons): Remove deprecated typing imports (#2945)
Instead, these should be imported from collections.abc
1 parent 4729d53 commit 38a8a3d

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

sentry_sdk/crons/_decorator.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,8 @@
44
from sentry_sdk._types import TYPE_CHECKING
55

66
if TYPE_CHECKING:
7-
from typing import (
8-
Any,
9-
Awaitable,
10-
Callable,
11-
cast,
12-
overload,
13-
ParamSpec,
14-
TypeVar,
15-
Union,
16-
)
7+
from collections.abc import Awaitable, Callable
8+
from typing import Any, cast, overload, ParamSpec, TypeVar, Union
179

1810
P = ParamSpec("P")
1911
R = TypeVar("R")

0 commit comments

Comments
 (0)