Skip to content

Commit

Permalink
🎨 Fix type annotation for ignore_errors in sentry_sdk.init() (#1928)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Pirker <[email protected]>
  • Loading branch information
tiangolo and antonpirker committed Mar 6, 2023
1 parent f8aa25a commit a135fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry_sdk/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def __init__(
send_default_pii=False, # type: bool
http_proxy=None, # type: Optional[str]
https_proxy=None, # type: Optional[str]
ignore_errors=[], # type: List[Union[type, str]] # noqa: B006
ignore_errors=[], # type: Sequence[Union[type, str]] # noqa: B006
request_bodies="medium", # type: str
before_send=None, # type: Optional[EventProcessor]
before_breadcrumb=None, # type: Optional[BreadcrumbProcessor]
Expand Down

0 comments on commit a135fd6

Please sign in to comment.