fix: linting issue

This commit is contained in:
reton2 2024-05-01 11:51:22 +01:00
parent f644f72306
commit 033e2cff11
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ def get_request_handler(
is_coroutine = (
asyncio.iscoroutinefunction(dependant.call)
or callable(dependant.call)
and hasattr(dependant.call, "__call__")
and inspect.iscoroutinefunction(dependant.call.__call__)
)
is_body_form = body_field and isinstance(body_field.field_info, params.Form)