mirror of https://github.com/tiangolo/fastapi.git
leftover from merge conflict
This commit is contained in:
parent
f4436a34a6
commit
8ef0ae7b1e
|
|
@ -823,7 +823,7 @@ def request_params_to_args(
|
|||
"Params must be subclasses of Param"
|
||||
)
|
||||
|
||||
if lenient_issubclass(field.type_, BaseModel):
|
||||
if lenient_issubclass(field.field_info.annotation, BaseModel):
|
||||
value = params_to_process
|
||||
loc: tuple[str, ...] = (field_info.in_.value,)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue