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 it should be.
Solution Brainstorm
We 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.
A small improvement for potel-base maybe?
Problem Statement
See #4122
This is mostly about
EventandHint, 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_sendharder than it should be.Solution Brainstorm
We should consider moving them to
typesdirectly (instead of just re-exporting them there), or possibly even on the top level so that folks can just dofrom sentry_sdk import init, Event, Hint.A small improvement for
potel-basemaybe?