Skip to content

Commit

Permalink
ref(crons): Remove deprecated typing imports (#2945)
Browse files Browse the repository at this point in the history
Instead, these should be imported from collections.abc
  • Loading branch information
szokeasaurusrex authored Apr 8, 2024
1 parent 4729d53 commit 38a8a3d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions sentry_sdk/crons/_decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,8 @@
from sentry_sdk._types import TYPE_CHECKING

if TYPE_CHECKING:
from typing import (
Any,
Awaitable,
Callable,
cast,
overload,
ParamSpec,
TypeVar,
Union,
)
from collections.abc import Awaitable, Callable
from typing import Any, cast, overload, ParamSpec, TypeVar, Union

P = ParamSpec("P")
R = TypeVar("R")
Expand Down

0 comments on commit 38a8a3d

Please sign in to comment.