Skip to content

Commit 2a48e76

Browse files
committed
Fix sphinx circular import bullshit
1 parent 8836e1d commit 2a48e76

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

sentry_sdk/consts.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ class EndpointType(Enum):
3232
from typing import Tuple
3333
from typing_extensions import TypedDict
3434

35-
from sentry_sdk.integrations import Integration
36-
3735
from sentry_sdk._types import (
3836
BreadcrumbProcessor,
3937
ContinuousProfilerMode,
@@ -487,7 +485,7 @@ def __init__(
487485
environment=None, # type: Optional[str]
488486
server_name=None, # type: Optional[str]
489487
shutdown_timeout=2, # type: float
490-
integrations=[], # type: Sequence[Integration] # noqa: B006
488+
integrations=[], # type: Sequence[sentry_sdk.integrations.Integration] # noqa: B006
491489
in_app_include=[], # type: List[str] # noqa: B006
492490
in_app_exclude=[], # type: List[str] # noqa: B006
493491
default_integrations=True, # type: bool
@@ -514,7 +512,7 @@ def __init__(
514512
profiles_sampler=None, # type: Optional[TracesSampler]
515513
profiler_mode=None, # type: Optional[ProfilerMode]
516514
auto_enabling_integrations=True, # type: bool
517-
disabled_integrations=None, # type: Optional[Sequence[Integration]]
515+
disabled_integrations=None, # type: Optional[Sequence[sentry_sdk.integrations.Integration]]
518516
auto_session_tracking=True, # type: bool
519517
send_client_reports=True, # type: bool
520518
_experiments={}, # type: Experiments # noqa: B006

sentry_sdk/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454

5555
from gevent.hub import Hub
5656

57-
import sentry_sdk.integrations
5857
from sentry_sdk._types import Event, ExcInfo
5958

6059
P = ParamSpec("P")

0 commit comments

Comments
 (0)