Skip to content

Commit

Permalink
Explicit reexport of types (#2866) (#2913)
Browse files Browse the repository at this point in the history
Explicitly reexport types to make strict mypy setups happy. This backports #2866 to 1.x.

Fixes GH-2910

Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
  • Loading branch information
szokeasaurusrex and antonpirker authored Mar 27, 2024
1 parent 05d1e5c commit 790ee6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sentry_sdk/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@

if TYPE_CHECKING:
from sentry_sdk._types import Event, Hint # noqa: F401

__all__ = ["Event", "Hint"]

0 comments on commit 790ee6a

Please sign in to comment.