Skip to content

Commit 0242906

Browse files
authored
yay, proper type hint syntax
1 parent 7e51d19 commit 0242906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ def __init__(
970970
max_stack_frames: Optional[int] = DEFAULT_MAX_STACK_FRAMES,
971971
enable_logs: bool = False,
972972
before_send_log: Optional[Callable[[Log, Hint], Optional[Log]]] = None,
973-
http2=None, # type: Optional[bool],
973+
http2: Optional[bool] = None,
974974
) -> None:
975975
"""Initialize the Sentry SDK with the given parameters. All parameters described here can be used in a call to `sentry_sdk.init()`.
976976

0 commit comments

Comments
 (0)