Browse Source

fix

pull/15091/head
svlandeg 4 months ago
parent
commit
eaf7151974
  1. 1
      fastapi/routing.py

1
fastapi/routing.py

@ -99,7 +99,6 @@ def request_response(
Takes a function or coroutine `func(request) -> response`,
and returns an ASGI application.
"""
f: Callable[[Request], Awaitable[Response]] = (
f: Callable[[Request], Awaitable[Response]] = (
func # type: ignore[assignment] # ty: ignore[unused-ignore-comment]
if is_async_callable(func)

Loading…
Cancel
Save