Skip to content

Commit e5eb0b3

Browse files
committed
Put the typing in string quotes
1 parent a50d592 commit e5eb0b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sentry_sdk/integrations/quart.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import inspect
33
import sys
44
from functools import wraps
5-
from typing import TYPE_CHECKING
5+
from typing import TYPE_CHECKING, Optional
66

77
import sentry_sdk
88
from sentry_sdk.integrations import DidNotEnable, Integration
@@ -278,7 +278,7 @@ async def _capture_exception(
278278
sentry_sdk.capture_event(event, hint=hint)
279279

280280

281-
def _get_current_user_id_from_quart() -> str | None:
281+
def _get_current_user_id_from_quart() -> "str | None":
282282
if quart_auth is None:
283283
return None
284284

0 commit comments

Comments
 (0)