We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e65b1c2 commit 177cc5bCopy full SHA for 177cc5b
1 file changed
sentry_sdk/utils.py
@@ -76,8 +76,8 @@
76
Log,
77
Metric,
78
SerializedAttributeValue,
79
+ SpanJSON,
80
)
- from sentry_sdk.traces import StreamedSpan
81
82
P = ParamSpec("P")
83
R = TypeVar("R")
@@ -2114,7 +2114,7 @@ def get_before_send_metric(
2114
2115
def get_before_send_span(
2116
options: "Optional[dict[str, Any]]",
2117
-) -> "Optional[Callable[[StreamedSpan, Hint], Optional[StreamedSpan]]]":
+) -> "Optional[Callable[[SpanJSON, Hint], Optional[SpanJSON]]]":
2118
if options is None:
2119
return None
2120
0 commit comments