We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a50d592 commit e5eb0b3Copy full SHA for e5eb0b3
1 file changed
sentry_sdk/integrations/quart.py
@@ -2,7 +2,7 @@
2
import inspect
3
import sys
4
from functools import wraps
5
-from typing import TYPE_CHECKING
+from typing import TYPE_CHECKING, Optional
6
7
import sentry_sdk
8
from sentry_sdk.integrations import DidNotEnable, Integration
@@ -278,7 +278,7 @@ async def _capture_exception(
278
sentry_sdk.capture_event(event, hint=hint)
279
280
281
-def _get_current_user_id_from_quart() -> str | None:
+def _get_current_user_id_from_quart() -> "str | None":
282
if quart_auth is None:
283
return None
284
0 commit comments