Skip to content

Commit a7bbaaf

Browse files
authored
Merge branch 'master' into patch-1
2 parents 89639f0 + 8a7e226 commit a7bbaaf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

requirements-linting.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ loguru # There is no separate types module.
1414
flake8-bugbear
1515
pep8-naming
1616
pre-commit # local linting
17+
httpcore

sentry_sdk/integrations/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from typing import Optional
1515
from typing import Set
1616
from typing import Type
17+
from typing import Union
1718

1819

1920
_DEFAULT_FAILED_REQUEST_STATUS_CODES = frozenset(range(500, 600))
@@ -124,7 +125,7 @@ def setup_integrations(
124125
with_auto_enabling_integrations=False,
125126
disabled_integrations=None,
126127
):
127-
# type: (Sequence[Integration], bool, bool, Optional[Sequence[Integration]]) -> Dict[str, Integration]
128+
# type: (Sequence[Integration], bool, bool, Optional[Sequence[Union[type[Integration], Integration]]]) -> Dict[str, Integration]
128129
"""
129130
Given a list of integration instances, this installs them all.
130131

0 commit comments

Comments
 (0)