From e7962cbc9fec7b913872dd8a63fc0370b82eef6a Mon Sep 17 00:00:00 2001
From: reton2 <rafaymsgo@gmail.com>
Date: Wed, 1 May 2024 11:59:57 +0100
Subject: [PATCH] chore: add ignore for line

---
 fastapi/routing.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fastapi/routing.py b/fastapi/routing.py
index 188ad22d3..5b5290d74 100644
--- a/fastapi/routing.py
+++ b/fastapi/routing.py
@@ -211,8 +211,7 @@ def get_request_handler(
     is_coroutine = (
         asyncio.iscoroutinefunction(dependant.call)
         or callable(dependant.call)
-        and callable(dependant.call)
-        and inspect.iscoroutinefunction(dependant.call.__call__)
+        and inspect.iscoroutinefunction(dependant.call.__call__) # type: ignore[operator]
     )
     is_body_form = body_field and isinstance(body_field.field_info, params.Form)
     if isinstance(response_class, DefaultPlaceholder):