| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:6f70a961-c530-aad4-5bad-50af21b6704a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9186:C25F6:74F641:A17BDB:6B009E55 |
| html-safe-nonce | c1852fcfe0ca01dec52147ce3394519724db8dad5a28fd12c32330423a1d7ea1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTg2OkMyNUY2Ojc0RjY0MTpBMTdCREI6NkIwMDlFNTUiLCJ2aXNpdG9yX2lkIjoiOTEwMjA3ODQ3MjgzNDAzMTE4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4ad7d9ea6cd70fbf9d69c123fb1bb2a73293229bf1ae1a14165d08f2ed8d58fe |
| hovercard-subject-tag | pull_request:5335609022 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/8290/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d4dd1ac0440be9828dfc7bf945f57f1e0218aee739e4c6dc758595bd7c23ccab/getsentry/sentry-python/pull/8290 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4dd1ac0440be9828dfc7bf945f57f1e0218aee739e4c6dc758595bd7c23ccab/getsentry/sentry-python/pull/8290 |
| og:image:alt | TL;DR: Get rid of cases where a name could be possibly undefined, because there exists a code branch where it's not set.
Description
Turns on mypy's possibly-undefined error code. It flags ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sentry-junior[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c95ce7e48016ae14399656b4ee812462b6f1fa28c5008c8394da64794c00b8 |
| turbo-cache-control | no-cache |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1c9ddec8215f9a94e295c8310c3579b9c54ba31a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-python/pull/8290#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F8290 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F8290 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python |
| Reload | https://github.com/getsentry/sentry-python/pull/8290 |
| Reload | https://github.com/getsentry/sentry-python/pull/8290 |
| Reload | https://github.com/getsentry/sentry-python/pull/8290 |
| getsentry | https://github.com/getsentry |
| sentry-python | https://github.com/getsentry/sentry-python |
| Code | https://github.com/getsentry/sentry-python |
| Issues345 (345) | https://github.com/getsentry/sentry-python/issues |
| Pull requests42 (42) | https://github.com/getsentry/sentry-python/pulls |
| Discussions | https://github.com/getsentry/sentry-python/discussions |
| Actions | https://github.com/getsentry/sentry-python/actions |
| Security and quality2 (2) | https://github.com/getsentry/sentry-python/security |
| Insights | https://github.com/getsentry/sentry-python/insights |
| https://github.com/getsentry/sentry-python |
| sentrivana | https://github.com/sentrivana |
| master | https://github.com/getsentry/sentry-python/tree/master |
| ci/mypy-possibly-undefined | https://github.com/getsentry/sentry-python/tree/ci/mypy-possibly-undefined |
| Conversation | https://github.com/getsentry/sentry-python/pull/8290 |
| Commits3 (3) | https://github.com/getsentry/sentry-python/pull/8290/commits |
| Checks | https://github.com/getsentry/sentry-python/pull/8290/checks |
| Files changed | https://github.com/getsentry/sentry-python/pull/8290/files |
| ci(mypy): Enable possibly-undefined error code | https://github.com/getsentry/sentry-python/pull/8290#top |
| sentrivana | https://github.com/sentrivana |
| master | https://github.com/getsentry/sentry-python/tree/master |
| ci/mypy-possibly-undefined | https://github.com/getsentry/sentry-python/tree/ci/mypy-possibly-undefined |
|
| https://github.com/apps/sentry-junior |
| sentry-junior | https://github.com/apps/sentry-junior |
| Nov 16, 2026 | https://github.com/getsentry/sentry-python/pull/8290#issue-6419586016 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/8290 |
| #8281 | https://github.com/getsentry/sentry-python/pull/8281 |
| #8281 | https://github.com/getsentry/sentry-python/pull/8281 |
| @sentrivana | https://github.com/sentrivana |
| View Session | https://junior-prod.sentry.dev/conversations/agent%3A7a83c05e74f882736a37443f4dfc9ae1 |
| [Sentry] | https://sentry.sentry.io/explore/conversations/agent%3A7a83c05e74f882736a37443f4dfc9ae1/?project=4510944073809921 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/8290 |
|
| https://github.com/apps/sentry-junior |
|
| https://github.com/sentrivana |
| ci(mypy): Enable possibly-undefined error code | https://github.com/getsentry/sentry-python/pull/8290/commits/e144ba1574201109d6a1cf3dd0576c9da7922267 |
| e144ba1 | https://github.com/getsentry/sentry-python/pull/8290/commits/e144ba1574201109d6a1cf3dd0576c9da7922267 |
| https://github.com/apps/sentry-junior |
| sentry-junior | https://github.com/apps/sentry-junior |
| sentrivana | https://github.com/sentrivana |
| Nov 16, 2026 | https://github.com/getsentry/sentry-python/pull/8290#event-36266605014 |
|
| https://github.com/apps/sentry-junior |
| Merge remote-tracking branch 'origin/master' into ci/mypy-possibly-un… | https://github.com/getsentry/sentry-python/pull/8290/commits/22ef02f629084b3eca515a15d084727de13e5d4b |
| 22ef02f | https://github.com/getsentry/sentry-python/pull/8290/commits/22ef02f629084b3eca515a15d084727de13e5d4b |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Nov 16, 2026 | https://github.com/getsentry/sentry-python/pull/8290#issuecomment-6914654543 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/8290 |
| sentry_sdk/integrations/quart.py | https://github.com/getsentry/sentry-python/pull/8290/files#diff-fbd2538914f0a6e7a097e492cbeb85303d3a662b94159433ab9a881bf73e0906 |
| sentry_sdk/integrations/stdlib.py | https://github.com/getsentry/sentry-python/pull/8290/files#diff-a4126c83dc26504f383d0f7f1240876170bc0e7002bb6eb8b7563a2e4c5ee550 |
| sentry_sdk/spotlight.py | https://github.com/getsentry/sentry-python/pull/8290/files#diff-21746e8e8ca491fd0c38e0d302b7f8726c25b6993d47b39eae8ed543cccd628a |
| sentry_sdk/integrations/beam.py | https://github.com/getsentry/sentry-python/pull/8290/files#diff-14562f9304ac7b04ae48b47c407f971cf38290ca6c4974930b04ea1ee6554dad |
| sentry_sdk/integrations/chalice.py | https://github.com/getsentry/sentry-python/pull/8290/files#diff-66ff17797217cf552d333efee88172f45557fb3c2411b260891d1af9a9030d4f |
| sentry_sdk/integrations/grpc/aio/server.py | https://github.com/getsentry/sentry-python/pull/8290/files#diff-518b027b4a9f78cac8ec6778b0448ee0729110ce49aefe61e4456d5effff5c5a |
| sentry_sdk/integrations/langchain.py | https://github.com/getsentry/sentry-python/pull/8290/files#diff-bba846cf7b623cb617bd628d482cd71fe41160f0cea1f48f321fcf5166472925 |
| sentry_sdk/integrations/litestar.py | https://github.com/getsentry/sentry-python/pull/8290/files#diff-b468b35120d935e8dff0b1b937a33aed19c335864e3ef2074de876d40f746abb |
| sentry_sdk/integrations/mcp.py | https://github.com/getsentry/sentry-python/pull/8290/files#diff-6254d4b44f194cd66f20ea9eaa9a753e523162865eeb10459f96be62f386807b |
| sentry_sdk/integrations/starlite.py | https://github.com/getsentry/sentry-python/pull/8290/files#diff-3830ffe04ace1e8050dd3a3325d6de34483aae6ccade08c8bc8d04511dfee042 |
| sentry_sdk/transport.py | https://github.com/getsentry/sentry-python/pull/8290/files#diff-de9bdd6525bf93f688ebf790909061a7a63fa9a0d3c02443fb6dd2930be8bc42 |
| Coverage Action | https://github.com/getsentry/coverage-action |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/8290 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| November 17, 2026 12:41 | https://github.com/getsentry/sentry-python/pull/8290#event-36404582694 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| code owner | https://github.com/getsentry/sentry-python/blob/e9c62e532e9a7fcd5702583908ff600bdc02480e/.github/CODEOWNERS#L1 |
| November 17, 2026 12:41 | https://github.com/getsentry/sentry-python/pull/8290#event-36404583781 |
| https://github.com/apps/sentry-junior |
| sentry-junior | https://github.com/apps/sentry-junior |
| sentrivana | https://github.com/sentrivana |
| November 17, 2026 12:41 | https://github.com/getsentry/sentry-python/pull/8290#event-36404588494 |
| https://github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://github.com/alexander-alderman-webb |
|
Nov 17, 2026
| https://github.com/getsentry/sentry-python/pull/8290#pullrequestreview-5938641885 |
|
View reviewed changes
| https://github.com/getsentry/sentry-python/pull/8290/files/22ef02f629084b3eca515a15d084727de13e5d4b |
| alexander-alderman-webb | https://github.com/alexander-alderman-webb |
| https://github.com/getsentry/sentry-python/pull/8290#pullrequestreview-5938641885 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/8290 |
| sentry_sdk/integrations/grpc/aio/server.py | https://github.com/getsentry/sentry-python/pull/8290/files/22ef02f629084b3eca515a15d084727de13e5d4b#diff-518b027b4a9f78cac8ec6778b0448ee0729110ce49aefe61e4456d5effff5c5a |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/8290 |
|
| https://github.com/apps/sentry-junior |
| ref(grpc): Keep explicit stream_stream condition | https://github.com/getsentry/sentry-python/pull/8290/commits/5c5589253d739643914d9aa32200ba3a1e57e1a8 |
| 5c55892 | https://github.com/getsentry/sentry-python/pull/8290/commits/5c5589253d739643914d9aa32200ba3a1e57e1a8 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| 425ec7d | https://github.com/getsentry/sentry-python/commit/425ec7d983700703e7ec42b1fb4530a5e88bd3cd |
| Nov 17, 2026 | https://github.com/getsentry/sentry-python/pull/8290#event-36411725007 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/8290 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| November 17, 2026 13:53 | https://github.com/getsentry/sentry-python/pull/8290#event-36411730452 |
|
publish: getsentry/sentry-python@3.0.0b5
getsentry/publish#10505
| https://github.com/getsentry/publish/issues/10505 |
|
publish: getsentry/sentry-python@3.0.0rc1
getsentry/publish#10507
| https://github.com/getsentry/publish/issues/10507 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F8290 |
|
| https://github.com/alexander-alderman-webb |
|
alexander-alderman-webb
| https://github.com/alexander-alderman-webb |
|
| https://github.com/getsentry/sentry-python/pull/8290/files/22ef02f629084b3eca515a15d084727de13e5d4b |
|
| https://github.com/sentrivana |
|
sentrivana
| https://github.com/sentrivana |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/8290 |
|
| https://github.com/sentrivana |
|
sentrivana
| https://github.com/sentrivana |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/8290 |
|
| https://github.com/alexander-alderman-webb |
|
| https://github.com/sentrivana |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |