ref: Rename _get_current_streamed_span#6490
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
sentrivana
commented
Jun 3, 2026
| from sentry_sdk.scope import Scope, _ScopeManager, isolation_scope, new_scope | ||
| from sentry_sdk.traces import StreamedSpan, _get_current_streamed_span | ||
| from sentry_sdk.traces import StreamedSpan | ||
| from sentry_sdk.traces import get_current_span as _get_current_streamed_span |
Contributor
Author
There was a problem hiding this comment.
This is aliased to an underscore func on purpose since we don't want to advertise it as importable from the top level api
alexander-alderman-webb
approved these changes
Jun 3, 2026
Contributor
Codecov Results 📊✅ 88644 passed | ⏭️ 6022 skipped | Total: 94666 | Pass Rate: 93.64% | Execution Time: 289m 51s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2468 uncovered lines. Files with missing lines (1)
Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 89.39% 89.39% —%
==========================================
Files 192 192 —
Lines 23264 23265 +1
Branches 7996 7996 —
==========================================
+ Hits 20796 20797 +1
- Misses 2468 2468 —
- Partials 1308 1308 —Generated by Codecov Action |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Follow the existing convention of defining the future top-level API functions in
traces.pyunder their future namesIssues
Reminders
uv run ruff.feat:,fix:,ref:,meta:)