From 7359bfcad15da4cbd199718a8b0fcef5415de665 Mon Sep 17 00:00:00 2001 From: "ZhengYu, Xu" Date: Mon, 30 Jun 2025 10:59:54 +0800 Subject: [PATCH] chore: reexport module `profiler` --- sentry_sdk/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sentry_sdk/__init__.py b/sentry_sdk/__init__.py index e03f3b4484..5b41c108e0 100644 --- a/sentry_sdk/__init__.py +++ b/sentry_sdk/__init__.py @@ -1,10 +1,10 @@ +from sentry_sdk import integrations, logger, profiler from sentry_sdk.scope import Scope from sentry_sdk.transport import Transport, HttpTransport from sentry_sdk.client import Client from sentry_sdk.api import * # noqa - -from sentry_sdk.consts import VERSION # noqa +from sentry_sdk.consts import VERSION __all__ = [ # noqa "Hub", @@ -12,6 +12,7 @@ "Client", "Transport", "HttpTransport", + "VERSION", "integrations", # From sentry_sdk.api "init", @@ -47,6 +48,7 @@ "trace", "monitor", "logger", + "profiler", "start_session", "end_session", ]