Skip to content

Commit 177cc5b

Browse files
committed
fix type
1 parent e65b1c2 commit 177cc5b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sentry_sdk/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
Log,
7777
Metric,
7878
SerializedAttributeValue,
79+
SpanJSON,
7980
)
80-
from sentry_sdk.traces import StreamedSpan
8181

8282
P = ParamSpec("P")
8383
R = TypeVar("R")
@@ -2114,7 +2114,7 @@ def get_before_send_metric(
21142114

21152115
def get_before_send_span(
21162116
options: "Optional[dict[str, Any]]",
2117-
) -> "Optional[Callable[[StreamedSpan, Hint], Optional[StreamedSpan]]]":
2117+
) -> "Optional[Callable[[SpanJSON, Hint], Optional[SpanJSON]]]":
21182118
if options is None:
21192119
return None
21202120

0 commit comments

Comments
 (0)