Skip to content

Commit 790ee6a

Browse files
Explicit reexport of types (#2866) (#2913)
Explicitly reexport types to make strict mypy setups happy. This backports #2866 to 1.x. Fixes GH-2910 Co-authored-by: Anton Pirker <[email protected]>
1 parent 05d1e5c commit 790ee6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sentry_sdk/types.py

+2
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@
1212

1313
if TYPE_CHECKING:
1414
from sentry_sdk._types import Event, Hint # noqa: F401
15+
16+
__all__ = ["Event", "Hint"]

0 commit comments

Comments
 (0)