Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions sentry_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,33 @@
from sentry_sdk.client import Client

from sentry_sdk.api import * # noqa
from sentry_sdk.api import __all__ as api_all

from sentry_sdk.consts import VERSION # noqa

__all__ = api_all + [ # noqa
__all__ = [ # noqa
"Hub",
"Scope",
"Client",
"Transport",
"HttpTransport",
"init",
"integrations",
# From sentry_sdk.api
"capture_event",
"capture_message",
"capture_exception",
"add_breadcrumb",
"configure_scope",
"push_scope",
"flush",
"last_event_id",
"start_span",
"start_transaction",
"set_tag",
"set_context",
"set_extra",
"set_user",
"set_level",
]

# Initialize the debug support after everything is loaded
Expand Down
1 change: 1 addition & 0 deletions sentry_sdk/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def overload(x):
return x


# When changing this, update __all__ in __init__.py too
__all__ = [
"capture_event",
"capture_message",
Expand Down