Skip to content

Commit aa3c334

Browse files
committed
fix circular import
1 parent 42afdfa commit aa3c334

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sentry_sdk/tracing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import sentry_sdk
88
from sentry_sdk.consts import INSTRUMENTER, SPANSTATUS, SPANDATA
99
from sentry_sdk.profiler.continuous_profiler import get_profiler_id
10-
from sentry_sdk.tracing_utils import create_span_decorator
1110
from sentry_sdk.utils import (
1211
get_current_thread_meta,
1312
is_valid_sample_rate,
@@ -1408,6 +1407,8 @@ def make_db_query(sql):
14081407
# Function implementation
14091408
pass
14101409
"""
1410+
from sentry_sdk.tracing_utils import create_span_decorator
1411+
14111412
decorator = create_span_decorator(
14121413
op=op,
14131414
name=name,

0 commit comments

Comments
 (0)