From 087859314d4d967417495991cb7848eea7f93290 Mon Sep 17 00:00:00 2001 From: Ivana Kellyerova Date: Thu, 13 Jun 2024 16:25:43 +0200 Subject: [PATCH] Add deprecation comment for profiler internals (#3167) --- sentry_sdk/profiler/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sentry_sdk/profiler/__init__.py b/sentry_sdk/profiler/__init__.py index e813bea4e0..46382cc29d 100644 --- a/sentry_sdk/profiler/__init__.py +++ b/sentry_sdk/profiler/__init__.py @@ -22,7 +22,8 @@ __all__ = [ "start_profiler", "stop_profiler", - # Re-exported for backwards compatibility + # DEPRECATED: The following was re-exported for backwards compatibility. It + # will be removed from sentry_sdk.profiler in a future release. "MAX_PROFILE_DURATION_NS", "PROFILE_MINIMUM_SAMPLES", "Profile",