File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 4
4
from sentry_sdk .client import Client
5
5
6
6
from sentry_sdk .api import * # noqa
7
- from sentry_sdk .api import __all__ as api_all
8
7
9
8
from sentry_sdk .consts import VERSION # noqa
10
9
11
- __all__ = api_all + [ # noqa
10
+ __all__ = [ # noqa
12
11
"Hub" ,
13
12
"Scope" ,
14
13
"Client" ,
15
14
"Transport" ,
16
15
"HttpTransport" ,
17
16
"init" ,
18
17
"integrations" ,
18
+ # From sentry_sdk.api
19
+ "capture_event" ,
20
+ "capture_message" ,
21
+ "capture_exception" ,
22
+ "add_breadcrumb" ,
23
+ "configure_scope" ,
24
+ "push_scope" ,
25
+ "flush" ,
26
+ "last_event_id" ,
27
+ "start_span" ,
28
+ "start_transaction" ,
29
+ "set_tag" ,
30
+ "set_context" ,
31
+ "set_extra" ,
32
+ "set_user" ,
33
+ "set_level" ,
19
34
]
20
35
21
36
# Initialize the debug support after everything is loaded
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ def overload(x):
27
27
return x
28
28
29
29
30
+ # When changing this, update __all__ in __init__.py too
30
31
__all__ = [
31
32
"capture_event" ,
32
33
"capture_message" ,
You can’t perform that action at this time.
0 commit comments