8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cb6264 commit 18f7557Copy full SHA for 18f7557
sentry_sdk/integrations/__init__.py
@@ -15,9 +15,11 @@ def _generate_default_integrations_iterator(*import_strings):
15
def iter_default_integrations():
16
"""Returns an iterator of the default integration classes:
17
"""
18
+ from importlib import import_module
19
+
20
for import_string in import_strings:
21
module, cls = import_string.rsplit(".", 1)
- yield getattr(__import__(module), cls)
22
+ yield getattr(import_module(module), cls)
23
24
25
iter_default_integrations.__doc__ += "\n- `{}`".format(import_string)
0 commit comments