We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8422e8f commit 17b9b63Copy full SHA for 17b9b63
opentelemetry-sdk/benchmarks/test_baggage.py
@@ -1,3 +1,4 @@
1
+# pylint: disable=redefined-outer-name, invalid-name
2
import pytest
3
4
from opentelemetry import trace
@@ -17,10 +18,10 @@ def baggage_size(request):
17
18
return request.param
19
20
-def set_baggage_operation(baggage_size=10):
21
+def set_baggage_operation(size=10):
22
with tracer.start_span(name="root span"):
23
ctx = get_all()
- for i in range(baggage_size):
24
+ for i in range(size):
25
ctx = set_baggage(f"foo{i}", f"bar{i}", context=ctx)
26
return ctx
27
0 commit comments