File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 1111from typing import TYPE_CHECKING
1212
1313if TYPE_CHECKING :
14- from sentry_sdk ._types import Event , EventDataCategory , Hint , Log
14+ # Re-export types to make them available in the public API
15+ from sentry_sdk ._types import (
16+ Breadcrumb ,
17+ BreadcrumbHint ,
18+ Event ,
19+ EventDataCategory ,
20+ Hint ,
21+ Log ,
22+ MonitorConfig ,
23+ SamplingContext ,
24+ )
1525else :
1626 from typing import Any
1727
1828 # The lines below allow the types to be imported from outside `if TYPE_CHECKING`
1929 # guards. The types in this module are only intended to be used for type hints.
30+ Breadcrumb = Any
31+ BreadcrumbHint = Any
2032 Event = Any
2133 EventDataCategory = Any
2234 Hint = Any
2335 Log = Any
36+ MonitorConfig = Any
37+ SamplingContext = Any
2438
25- __all__ = ("Event" , "EventDataCategory" , "Hint" , "Log" )
39+
40+ __all__ = (
41+ "Breadcrumb" ,
42+ "BreadcrumbHint" ,
43+ "Event" ,
44+ "EventDataCategory" ,
45+ "Hint" ,
46+ "Log" ,
47+ "MonitorConfig" ,
48+ "SamplingContext" ,
49+ )
You can’t perform that action at this time.
0 commit comments