Skip to content

fix: Align type hints of set_attribute(s) - #8306

Merged
alexander-alderman-webb merged 1 commit into
major/3.0from
webb/set-attribute
Nov 17, 2026
Merged

alexander-alderman-webb merged 1 commit into
major/3.0from
webb/set-attribute

Conversation

@alexander-alderman-webb

Copy link
Copy Markdown
Collaborator

Switching between global sentry_sdk.set_attribute() and Span.set_attribute() should not induce mypy complaints.

@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner November 17, 2026 10:29
@github-actions

Copy link
Copy Markdown
Contributor

Coverage Results 📊

✅ 59202 passed | ⏭️ 3091 skipped | Total: 62293 | Pass Rate: 95.04% | Execution Time: 162m 12s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -84792
Passed Tests 📉 -80025
Failed Tests 📉 -1
Skipped Tests 📉 -4766

➖ Removed Tests (1)

View removed tests
  • test_profile_captured
    • File: tests.profiler.test_transaction_profiler

All tests are passing successfully.

✅ Patch coverage is 100.00% (2 of 2 changed executable lines covered; target 80%).
Project statement coverage is 90.08%.

Changed files with executable lines (1)
File Patch coverage Changed executable lines
sentry_sdk/api.py 100.00% 2/2 covered

Generated by Coverage Action

@alexander-alderman-webb
alexander-alderman-webb merged commit 8a079bb into major/3.0 Nov 17, 2026
157 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/set-attribute branch November 17, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants