Skip to content

Commit 4b790a7

Browse files
committed
Add deprecation comment for profiler internals (#3167)
1 parent 5afac7c commit 4b790a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sentry_sdk/profiler/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
__all__ = [
2323
"start_profiler",
2424
"stop_profiler",
25-
# Re-exported for backwards compatibility
25+
# DEPRECATED: The following was re-exported for backwards compatibility. It
26+
# will be removed from sentry_sdk.profiler in a future release.
2627
"MAX_PROFILE_DURATION_NS",
2728
"PROFILE_MINIMUM_SAMPLES",
2829
"Profile",

0 commit comments

Comments
 (0)