opentelemetry-processor-baggage: silence ruff warning (#2653)

This commit is contained in:
Riccardo Magliocchetti
2024-07-02 20:32:39 +02:00
committed by GitHub
parent 90211489a3
commit 77749225b7

View File

@ -23,7 +23,7 @@ from opentelemetry.trace import Span
BaggageKeyPredicateT = Callable[[str], bool]
# A BaggageKeyPredicate that always returns True, allowing all baggage keys to be added to spans
ALLOW_ALL_BAGGAGE_KEYS: BaggageKeyPredicateT = lambda _: True
ALLOW_ALL_BAGGAGE_KEYS: BaggageKeyPredicateT = lambda _: True # noqa: E731
class BaggageSpanProcessor(SpanProcessor):