Skip to content

Commit 8ef0ae7

Browse files
committed
leftover from merge conflict
1 parent f4436a3 commit 8ef0ae7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fastapi/dependencies/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ def request_params_to_args(
823823
"Params must be subclasses of Param"
824824
)
825825

826-
if lenient_issubclass(field.type_, BaseModel):
826+
if lenient_issubclass(field.field_info.annotation, BaseModel):
827827
value = params_to_process
828828
loc: tuple[str, ...] = (field_info.in_.value,)
829829
else:

0 commit comments

Comments
 (0)