Skip to content

Commit 5834fd4

Browse files
committed
fix: import Literal under TYPE_CHECKING for py3.6/3.7 compat
1 parent 726edeb commit 5834fd4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sentry_sdk/data_collection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
"""
2424

2525
import warnings
26-
from typing import TYPE_CHECKING, cast, Literal
26+
from typing import TYPE_CHECKING, cast
2727

2828
if TYPE_CHECKING:
29-
from typing import Any, Dict
29+
from typing import Any, Dict, Literal
3030

3131
from sentry_sdk._types import (
3232
DatabaseCollectionBehaviour,

0 commit comments

Comments
 (0)