From 6a9f435241671a61b3c21e1e6b102a06bebeab03 Mon Sep 17 00:00:00 2001 From: Erica Pisani Date: Tue, 1 Sep 2026 14:35:41 -0400 Subject: [PATCH] feat(types): Export SpanJSON type Fixes PY-2759 Fixes #7330 --- sentry_sdk/types.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sentry_sdk/types.py b/sentry_sdk/types.py index dff91e3719..042450f3de 100644 --- a/sentry_sdk/types.py +++ b/sentry_sdk/types.py @@ -22,6 +22,7 @@ Metric, MonitorConfig, SamplingContext, + SpanJSON, ) else: from typing import Any @@ -36,6 +37,7 @@ Log = Any MonitorConfig = Any SamplingContext = Any + SpanJSON = Any Metric = Any @@ -48,5 +50,6 @@ "Log", "MonitorConfig", "SamplingContext", + "SpanJSON", "Metric", )