From 9139de37f7732f8e8fba5f601d3397edf087c456 Mon Sep 17 00:00:00 2001 From: Ivana Kellyer Date: Mon, 12 Oct 2026 14:11:58 +0200 Subject: [PATCH] feat(types): Export DataCollectionUserOptions from sentry_sdk.types Make DataCollectionUserOptions importable from sentry_sdk.types at runtime, without requiring a TYPE_CHECKING guard, consistent with the other public types. --- sentry_sdk/types.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sentry_sdk/types.py b/sentry_sdk/types.py index 042450f3de..a5bf01a83a 100644 --- a/sentry_sdk/types.py +++ b/sentry_sdk/types.py @@ -15,6 +15,7 @@ from sentry_sdk._types import ( Breadcrumb, BreadcrumbHint, + DataCollectionUserOptions, Event, EventDataCategory, Hint, @@ -31,6 +32,7 @@ # guards. The types in this module are only intended to be used for type hints. Breadcrumb = Any BreadcrumbHint = Any + DataCollectionUserOptions = Any Event = Any EventDataCategory = Any Hint = Any @@ -44,6 +46,7 @@ __all__ = ( "Breadcrumb", "BreadcrumbHint", + "DataCollectionUserOptions", "Event", "EventDataCategory", "Hint",