Skip to content

Commit bbb21da

Browse files
Linting
1 parent a2fe0b2 commit bbb21da

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/sap_cloud_sdk/core/telemetry/span_processors/baggage_span_processor.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ def on_start(self, span: Span, parent_context: Optional[Context] = None) -> None
5555
if self._baggage_key_predicate(key):
5656
span.set_attribute(key, cast(AttributeValue, value))
5757

58-
overrides = {k: cast(AttributeValue, all_baggage[k]) for k in self._override_keys if k in all_baggage}
58+
overrides = {
59+
k: cast(AttributeValue, all_baggage[k])
60+
for k in self._override_keys
61+
if k in all_baggage
62+
}
5963
if overrides:
6064
span_id = getattr(getattr(span, "context", None), "span_id", None)
6165
if span_id is not None:

0 commit comments

Comments
 (0)