Skip to content

Commit 56139a3

Browse files
committed
shut up pylint
1 parent 4c17f00 commit 56139a3

File tree

1 file changed

+2
-6
lines changed
  • instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi

1 file changed

+2
-6
lines changed

instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi/__init__.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,7 @@ def client_response_hook(span: Span, scope: dict[str, Any], message: dict[str, A
210210
from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
211211
from opentelemetry.metrics import MeterProvider, get_meter
212212
from opentelemetry.semconv.attributes.http_attributes import HTTP_ROUTE
213-
from opentelemetry.trace import (
214-
TracerProvider,
215-
get_current_span,
216-
get_tracer,
217-
)
213+
from opentelemetry.trace import TracerProvider, get_current_span, get_tracer
218214
from opentelemetry.trace.status import Status, StatusCode
219215
from opentelemetry.util.http import (
220216
get_excluded_urls,
@@ -247,7 +243,7 @@ def instrument_app(
247243
http_capture_headers_server_response: list[str] | None = None,
248244
http_capture_headers_sanitize_fields: list[str] | None = None,
249245
exclude_spans: list[Literal["receive", "send"]] | None = None,
250-
):
246+
): # pylint: disable=too-many-locals
251247
"""Instrument an uninstrumented FastAPI application.
252248
253249
Args:

0 commit comments

Comments
 (0)