Skip to content

Commit e3dd4c5

Browse files
Remove constructor param
1 parent 431bcf5 commit e3dd4c5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sentry_sdk/integrations/concurrent.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,14 @@
1717
class ConcurrentIntegration(Integration):
1818
identifier = "concurrent"
1919

20-
def __init__(self, record_exceptions_on_futures=True):
21-
# type: (bool) -> None
22-
self.record_exceptions_on_futures = record_exceptions_on_futures
23-
2420
@staticmethod
2521
def setup_once():
2622
# type: () -> None
2723
ThreadPoolExecutor.submit = _wrap_submit_call(ThreadPoolExecutor.submit) # type: ignore
2824

2925

3026
def _wrap_submit_call(func):
31-
# type: (Any) -> Any
27+
# type: (Callable[..., Future[T]]) -> Callable[..., Future[T]]
3228
"""
3329
Wrap submit call to propagate scopes on task submission.
3430
"""

0 commit comments

Comments
 (0)