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 8e5e3b0 commit 0cb6264Copy full SHA for 0cb6264
sentry_sdk/integrations/__init__.py
@@ -2,7 +2,6 @@
2
from __future__ import absolute_import
3
4
from threading import Lock
5
-from collections import namedtuple
6
7
from sentry_sdk._compat import iteritems
8
from sentry_sdk.utils import logger
@@ -14,11 +13,10 @@
14
13
15
def _generate_default_integrations_iterator(*import_strings):
16
def iter_default_integrations():
17
- # type: () -> Iterator[Type[Integration]]
18
"""Returns an iterator of the default integration classes:
19
"""
20
for import_string in import_strings:
21
- module, cls = import_strings.rsplit(".", 1)
+ module, cls = import_string.rsplit(".", 1)
22
yield getattr(__import__(module), cls)
23
24
0 commit comments