mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-08-02 19:47:17 +08:00
opentelemetry-processor-baggage: silence ruff warning (#2653)
This commit is contained in:

committed by
GitHub

parent
90211489a3
commit
77749225b7
@ -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):
|
||||
|
Reference in New Issue
Block a user