Title: Move public types to a more public place · Issue #4127 · getsentry/sentry-python · GitHub
Open Graph Title: Move public types to a more public place · Issue #4127 · getsentry/sentry-python
X Title: Move public types to a more public place · Issue #4127 · getsentry/sentry-python
Description: Problem Statement See #4122 This is mostly about Event and Hint, but other types could be useful as well. Currently, they are not easy to find -- IDEs have a hard time too. This makes writing custom callbacks like before_send harder than...
Open Graph Description: Problem Statement See #4122 This is mostly about Event and Hint, but other types could be useful as well. Currently, they are not easy to find -- IDEs have a hard time too. This makes writing custo...
X Description: Problem Statement See #4122 This is mostly about Event and Hint, but other types could be useful as well. Currently, they are not easy to find -- IDEs have a hard time too. This makes writing custo...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/4127
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Move public types to a more public place","articleBody":"### Problem Statement\n\nSee https://github.com/getsentry/sentry-python/issues/4122\n\nThis is mostly about `Event` and `Hint`, but other types could be useful as well.\n\nCurrently, they are not easy to find -- IDEs have a hard time too. This makes writing custom callbacks like `before_send` harder than it should be.\n\n### Solution Brainstorm\n\nWe should consider moving them to `types` directly (instead of just re-exporting them there), or possibly even on the top level so that folks can just do `from sentry_sdk import init, Event, Hint`.\n\nA small improvement for `potel-base` maybe?","author":{"url":"https://github.com/sentrivana","@type":"Person","name":"sentrivana"},"datePublished":"2025-03-11T07:50:03Z","url":"https://github.com/getsentry/sentry-python/issues/4127"}
| 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:20bce38f-7782-6f1a-ed5b-724960be37f7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0C8:24D732:53A119:736DB0:6B0094D7 |
| html-safe-nonce | 07cdfbc62cff1b62f48d8eb1edc5d1f89453e2259083570d207ed61f30c17770 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEM4OjI0RDczMjo1M0ExMTk6NzM2REIwOjZCMDA5NEQ3IiwidmlzaXRvcl9pZCI6Ijg3ODkyMzMwMzc4MTM1MTk1NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 03de8b5de41de6a1216139bbdc08e8ee3d3f9791eab516d8595a663251491bab |
| hovercard-subject-tag | issue:2909499567 |
| 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/4127/issue_layout |
| twitter:image | https://opengraph.githubassets.com/343412556d427d6b22a5dd665a0c1575f5351ced12c023a3ee13a1b703a08769/getsentry/sentry-python/issues/4127 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/343412556d427d6b22a5dd665a0c1575f5351ced12c023a3ee13a1b703a08769/getsentry/sentry-python/issues/4127 |
| og:image:alt | Problem Statement See #4122 This is mostly about Event and Hint, but other types could be useful as well. Currently, they are not easy to find -- IDEs have a hard time too. This makes writing custo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sentrivana |
| hostname | github.com |
| expected-hostname | github.com |
| None | 552480023d6963d7f188d82f8cd5f3fe5046244607d769b794462821d9ea1b29 |
| 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 | caf54e38b10face642f6cc1c79e4562e7ee52e3c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width