File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def _create_check_in_event(
1818 monitor_config : "Optional[MonitorConfig]" = None ,
1919) -> "Event" :
2020 options = sentry_sdk .get_client ().options
21- check_in_id : str = check_in_id or uuid .uuid4 ().hex
21+ check_in_id = check_in_id or uuid .uuid4 ().hex
2222
2323 check_in : "Event" = {
2424 "type" : "check_in" ,
Original file line number Diff line number Diff line change @@ -965,9 +965,7 @@ def finish(
965965
966966 # For backwards compatibility, we must handle the case where `scope`
967967 # or `hub` could both either be a `Scope` or a `Hub`.
968- scope : "Optional[sentry_sdk.Scope]" = self ._get_scope_from_finish_args (
969- scope , hub
970- )
968+ scope = self ._get_scope_from_finish_args (scope , hub )
971969
972970 scope = scope or self .scope or sentry_sdk .get_current_scope ()
973971 client = sentry_sdk .get_client ()
You can’t perform that action at this time.
0 commit comments