Skip to content

Commit

Permalink
Correct Context Type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
keithralphs committed Jan 30, 2024
1 parent e212774 commit a353b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blueapi/tracing/tracing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_header_from_frame(frame: Frame, key: str) -> dict:


def propagate_context_in_headers(
headers: dict[str, typing.Any], context: Context = get_current()
headers: dict[str, typing.Any], context: typing.Optional[Context] = None
) -> None:
PROPAGATOR.inject(headers, context)

Expand Down

0 comments on commit a353b11

Please sign in to comment.