Skip to content

Commit 00840d7

Browse files
committed
move type ignores
1 parent d7f7cc6 commit 00840d7

File tree

1 file changed

+3
-3
lines changed
  • instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,9 @@ def instrument_app(
291291
# to faithfully record what is returned to the client since it technically cannot know what `ServerErrorMiddleware` is going to do.
292292

293293
def build_middleware_stack(self: Starlette) -> ASGIApp:
294-
inner_server_error_middleware: ASGIApp = (
295-
self._original_build_middleware_stack()
296-
) # type: ignore
294+
inner_server_error_middleware: ASGIApp = ( # type: ignore
295+
self._original_build_middleware_stack() # type: ignore
296+
)
297297
otel_middleware = OpenTelemetryMiddleware(
298298
inner_server_error_middleware,
299299
excluded_urls=excluded_urls,

0 commit comments

Comments
 (0)