🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

This commit is contained in:
pre-commit-ci[bot] 2024-05-01 10:54:02 +00:00
parent 033e2cff11
commit 22dc61c695
1 changed files with 1 additions and 1 deletions

View File

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