Skip to content

Commit 9daafa7

Browse files
docs: appease sphinx autodoc
1 parent a5bfd43 commit 9daafa7

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class FastAPIInstrumentor(BaseInstrumentor):
222222

223223
@staticmethod
224224
def instrument_app(
225-
app: fastapi.FastAPI,
225+
app,
226226
server_request_hook: ServerRequestHook = None,
227227
client_request_hook: ClientRequestHook = None,
228228
client_response_hook: ClientResponseHook = None,
@@ -238,7 +238,7 @@ def instrument_app(
238238
"""Instrument an uninstrumented FastAPI application.
239239
240240
Args:
241-
app: The ASGI application callable to forward requests to.
241+
app: The fastapi ASGI application callable to forward requests to.
242242
server_request_hook: Optional callback which is called with the server span and ASGI
243243
scope object for every incoming request.
244244
client_request_hook: Optional callback which is called with the internal span, and ASGI

0 commit comments

Comments
 (0)