Skip to content

Commit a135fd6

Browse files
tiangoloantonpirker
andauthoredMar 6, 2023
🎨 Fix type annotation for ignore_errors in sentry_sdk.init() (#1928)
Co-authored-by: Anton Pirker <[email protected]>
1 parent f8aa25a commit a135fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎sentry_sdk/consts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def __init__(
105105
send_default_pii=False, # type: bool
106106
http_proxy=None, # type: Optional[str]
107107
https_proxy=None, # type: Optional[str]
108-
ignore_errors=[], # type: List[Union[type, str]] # noqa: B006
108+
ignore_errors=[], # type: Sequence[Union[type, str]] # noqa: B006
109109
request_bodies="medium", # type: str
110110
before_send=None, # type: Optional[EventProcessor]
111111
before_breadcrumb=None, # type: Optional[BreadcrumbProcessor]

0 commit comments

Comments
 (0)