mirror of https://github.com/tiangolo/fastapi.git
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
This commit is contained in:
parent
e7962cbc9f
commit
6421bc12b2
|
|
@ -211,7 +211,7 @@ def get_request_handler(
|
|||
is_coroutine = (
|
||||
asyncio.iscoroutinefunction(dependant.call)
|
||||
or callable(dependant.call)
|
||||
and inspect.iscoroutinefunction(dependant.call.__call__) # type: ignore[operator]
|
||||
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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue