Skip to content

Commit

Permalink
typing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelyangdog committed Nov 15, 2024
1 parent 6e91902 commit daa2bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddtrace/propagation/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ def _inject(span_context: Context, headers: Dict[str, str]) -> None:
try:
if len(baggage_items) > DD_TRACE_BAGGAGE_MAX_ITEMS:
log.warning("Baggage item limit exceeded, dropping excess items")
baggage_items = itertools.islice(baggage_items, DD_TRACE_BAGGAGE_MAX_ITEMS)
baggage_items = itertools.islice(baggage_items, DD_TRACE_BAGGAGE_MAX_ITEMS) # type: ignore

header_value = ",".join(
f"{_BaggageHeader._encode_key(key)}={_BaggageHeader._encode_value(value)}"
Expand Down

0 comments on commit daa2bf0

Please sign in to comment.