From fe04a94fe6205a11f5cc17e89b7f126b18bd43f9 Mon Sep 17 00:00:00 2001 From: Sofie Van Landeghem Date: Fri, 12 Sep 2025 15:31:03 +0200 Subject: [PATCH] make consistent --- docs/en/docs/tutorial/response-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/docs/tutorial/response-model.md b/docs/en/docs/tutorial/response-model.md index 0f46239a3..81dd65eca 100644 --- a/docs/en/docs/tutorial/response-model.md +++ b/docs/en/docs/tutorial/response-model.md @@ -252,7 +252,7 @@ So, if you send a request to that *path operation* for the item with ID `foo`, t /// info -Depending on the installed version, FastAPI uses Pydantic model's `.dict()` (v1) (v1) or `model_dump` (v2) with the `exclude_unset` parameter to achieve this. +Depending on the installed version, FastAPI uses Pydantic model's `.dict()` (v1) (v1) or `.model_dump()` (v2) with the `exclude_unset` parameter to achieve this. ///