Skip to content

Commit 4fb6289

Browse files
committed
fix types
1 parent 8e45aa3 commit 4fb6289

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

sentry_sdk/ai/utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
from typing import TYPE_CHECKING
33

44
if TYPE_CHECKING:
5-
from typing import Any, Callable
5+
from typing import Any, Callable, Dict, List, Optional
66

77
from sentry_sdk.tracing import Span
88

9-
from typing import TYPE_CHECKING
10-
119
import sentry_sdk
1210
from sentry_sdk.utils import logger
1311

14-
if TYPE_CHECKING:
15-
from typing import Any, Dict, List, Optional
16-
1712
MAX_GEN_AI_MESSAGE_BYTES = 20_000 # 20KB
1813

1914

0 commit comments

Comments
 (0)