Skip to content

Commit 8f711f8

Browse files
committed
fix pylint ignore
1 parent d1aba9b commit 8f711f8

File tree

1 file changed

+3
-1
lines changed
  • packages/service-library/src/servicelib/aiohttp

1 file changed

+3
-1
lines changed

packages/service-library/src/servicelib/aiohttp/tracing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ def _startup(
109109
)
110110

111111
# Add the span processor to the tracer provider
112-
tracing_data.tracer_provider.add_span_processor(_create_span_processor(tracing_destination)) # type: ignore[attr-defined] # https://github.com/open-telemetry/opentelemetry-python/issues/3713
112+
tracing_data.tracer_provider.add_span_processor(
113+
_create_span_processor(tracing_destination)
114+
)
113115
# Instrument aiohttp server
114116
# Explanation for custom middleware call DK 10/2024:
115117
# OpenTelemetry Aiohttp autoinstrumentation is meant to be used by only calling `AioHttpServerInstrumentor().instrument()`

0 commit comments

Comments
 (0)