From 790ee6a819b1441b1273d962bf0cfa345f004a27 Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Wed, 27 Mar 2024 15:15:40 +0100 Subject: [PATCH] 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 --- sentry_sdk/types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sentry_sdk/types.py b/sentry_sdk/types.py index 5c46de7f88..f7397adee1 100644 --- a/sentry_sdk/types.py +++ b/sentry_sdk/types.py @@ -12,3 +12,5 @@ if TYPE_CHECKING: from sentry_sdk._types import Event, Hint # noqa: F401 + + __all__ = ["Event", "Hint"]