chore: add ignore for line

This commit is contained in:
reton2 2024-05-01 11:59:57 +01:00
parent 22dc61c695
commit e7962cbc9f
1 changed files with 1 additions and 2 deletions

View File

@ -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):