File tree Expand file tree Collapse file tree
sentry_sdk/integrations/django Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,9 +120,9 @@ class DjangoIntegration(Integration):
120120 origin_db = f"auto.db.{ identifier } "
121121
122122 transaction_style = ""
123- middleware_spans = None
124- signals_spans = None
125- cache_spans = None
123+ middleware_spans : "Optional[bool]" = None
124+ signals_spans : "Optional[bool]" = None
125+ cache_spans : "Optional[bool]" = None
126126 signals_denylist : "list[signals.Signal]" = []
127127
128128 def __init__ (
Original file line number Diff line number Diff line change 4444 iscoroutinefunction = inspect .iscoroutinefunction
4545 markcoroutinefunction = inspect .markcoroutinefunction
4646else :
47- iscoroutinefunction = asyncio .iscoroutinefunction # type: ignore[assignment]
47+ iscoroutinefunction = asyncio .iscoroutinefunction
4848
4949 def markcoroutinefunction (func : "_F" ) -> "_F" :
5050 func ._is_coroutine = asyncio .coroutines ._is_coroutine # type: ignore
You can’t perform that action at this time.
0 commit comments