Title: Do not export types behind TYPE_CHECKING · Issue #2909 · getsentry/sentry-python · GitHub
Open Graph Title: Do not export types behind TYPE_CHECKING · Issue #2909 · getsentry/sentry-python
X Title: Do not export types behind TYPE_CHECKING · Issue #2909 · getsentry/sentry-python
Description: Problem Statement Currently Event and friends are exported behind the TYPE_CHECKING conditional. Meaning imports of these types must also be behind these conditionals. cc @asottile-sentry Solution Brainstorm Export without the TYPE_CHECK...
Open Graph Description: Problem Statement Currently Event and friends are exported behind the TYPE_CHECKING conditional. Meaning imports of these types must also be behind these conditionals. cc @asottile-sentry Solution ...
X Description: Problem Statement Currently Event and friends are exported behind the TYPE_CHECKING conditional. Meaning imports of these types must also be behind these conditionals. cc @asottile-sentry Solution ...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/2909
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Do not export types behind TYPE_CHECKING","articleBody":"### Problem Statement\n\nCurrently `Event` and friends are exported behind the `TYPE_CHECKING` conditional. Meaning imports of these types must also be behind these conditionals.\r\n\r\ncc @asottile-sentry \n\n### Solution Brainstorm\n\nExport without the `TYPE_CHECKING` conditional","author":{"url":"https://github.com/evanpurkhiser","@type":"Person","name":"evanpurkhiser"},"datePublished":"2024-03-26T17:25:16Z","url":"https://github.com/getsentry/sentry-python/issues/2909"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:51b70035-65ec-c9f3-2781-1b21076c4a95 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9FC:81DA9:2E6E17:3FDAC7:6B008976 |
| html-safe-nonce | d42d446505db2bb096a8f28023c346ed3650f327d6f0f552f973eca1f9ffea1c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUZDOjgxREE5OjJFNkUxNzozRkRBQzc6NkIwMDg5NzYiLCJ2aXNpdG9yX2lkIjoiODQwODU4NDI1OTc2MTExMzQ2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 84fb2de268f336ef06aa73882aabc945f8f7f01c2a7327ecedb72ebba679e1f4 |
| hovercard-subject-tag | issue:2208869028 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/2909/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a099ad0eb827949821c2f6ae32169525da43804ad5425bd965436f4c8ca5775b/getsentry/sentry-python/issues/2909 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a099ad0eb827949821c2f6ae32169525da43804ad5425bd965436f4c8ca5775b/getsentry/sentry-python/issues/2909 |
| og:image:alt | Problem Statement Currently Event and friends are exported behind the TYPE_CHECKING conditional. Meaning imports of these types must also be behind these conditionals. cc @asottile-sentry Solution ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | evanpurkhiser |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61 |
| turbo-cache-control | no-preview |
| 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 | db758f8e02b8257935fb03edf81a3e76eb3abd11 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width