File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -411,18 +411,21 @@ async def _handler_wrapper(
411411
412412 scopes = _get_active_http_scopes ()
413413
414+ isolation_scope_context : "ContextManager[Any]"
415+ current_scope_context : "ContextManager[Any]"
416+
414417 if scopes is None :
415418 isolation_scope_context = nullcontext ()
416419 current_scope_context = nullcontext ()
417420 else :
418421 isolation_scope , current_scope = scopes
419422
420- isolation_scope_context : "ContextManager[Any]" = (
423+ isolation_scope_context = (
421424 nullcontext ()
422425 if isolation_scope is None
423426 else sentry_sdk .scope .use_isolation_scope (isolation_scope )
424427 )
425- current_scope_context : "ContextManager[Any]" = (
428+ current_scope_context = (
426429 nullcontext ()
427430 if current_scope is None
428431 else sentry_sdk .scope .use_scope (current_scope )
You can’t perform that action at this time.
0 commit comments