We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a6cc39 commit 176a660Copy full SHA for 176a660
sentry_sdk/integrations/django/tasks.py
@@ -10,6 +10,11 @@
10
except ImportError:
11
Task = None
12
13
+from typing import TYPE_CHECKING
14
+
15
+if TYPE_CHECKING:
16
+ from typing import Any
17
18
19
def patch_tasks():
20
# type: () -> None
@@ -20,7 +25,7 @@ def patch_tasks():
25
21
26
@wraps(old_task_enqueue)
22
27
def _sentry_enqueue(self, *args, **kwargs):
23
- # type: (Any, Any) -> Any
28
+ # type: (Any, Any, Any) -> Any
24
29
from sentry_sdk.integrations.django import DjangoIntegration
30
31
integration = sentry_sdk.get_client().get_integration(DjangoIntegration)
0 commit comments