Skip to content

Commit 28e46e9

Browse files
move import out of type checking block
1 parent 53bf159 commit 28e46e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/integrations/anthropic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from sentry_sdk.integrations import DidNotEnable, Integration, _check_minimum_version
1919
from sentry_sdk.scope import should_send_default_pii
2020
from sentry_sdk.traces import StreamedSpan
21+
from sentry_sdk.tracing import Span
2122
from sentry_sdk.tracing_utils import (
2223
has_span_streaming_enabled,
2324
should_truncate_gen_ai_input,
@@ -83,7 +84,6 @@
8384
)
8485

8586
from sentry_sdk._types import TextPart
86-
from sentry_sdk.tracing import Span
8787

8888

8989
class _RecordedUsage:

0 commit comments

Comments
 (0)