File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ def _load_trace_data_from_env(self) -> "Optional[Dict[str, str]]":
518518 Load Sentry trace id and baggage from environment variables.
519519 Can be disabled by setting SENTRY_USE_ENVIRONMENT to "false".
520520 """
521- incoming_trace_information = None
521+ incoming_trace_information : "Optional[Dict[str, str]]" = None
522522
523523 sentry_use_environment = (
524524 os .environ .get ("SENTRY_USE_ENVIRONMENT" ) or ""
@@ -1065,12 +1065,12 @@ def add_breadcrumb(
10651065 before_breadcrumb = client .options .get ("before_breadcrumb" )
10661066 max_breadcrumbs = client .options .get ("max_breadcrumbs" , DEFAULT_MAX_BREADCRUMBS )
10671067
1068- crumb : "Breadcrumb" = dict (crumb or ())
1068+ crumb = dict (crumb or ())
10691069 crumb .update (kwargs )
10701070 if not crumb :
10711071 return
10721072
1073- hint : "Hint" = dict (hint or ())
1073+ hint = dict (hint or ())
10741074
10751075 if crumb .get ("timestamp" ) is None :
10761076 crumb ["timestamp" ] = datetime .now (timezone .utc )
You can’t perform that action at this time.
0 commit comments