From: Alejandra <90076947+alejsdev@users.noreply.github.com> Date: Thu, 21 Mar 2024 21:54:22 +0000 (-0500) Subject: ✏️ Fix typo in `docs/en/docs/tutorial/extra-models.md` (#11329) X-Git-Tag: 0.110.1~293 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b1da59b28b5ad7a2a9621b530e85da2cb2449e0;p=thirdparty%2Ffastapi%2Ffastapi.git ✏️ Fix typo in `docs/en/docs/tutorial/extra-models.md` (#11329) --- diff --git a/docs/en/docs/tutorial/extra-models.md b/docs/en/docs/tutorial/extra-models.md index d83b6bc859..ad253a3365 100644 --- a/docs/en/docs/tutorial/extra-models.md +++ b/docs/en/docs/tutorial/extra-models.md @@ -120,7 +120,7 @@ would be equivalent to: UserInDB(**user_in.dict()) ``` -...because `user_in.dict()` is a `dict`, and then we make Python "unwrap" it by passing it to `UserInDB` prepended with `**`. +...because `user_in.dict()` is a `dict`, and then we make Python "unwrap" it by passing it to `UserInDB` prefixed with `**`. So, we get a Pydantic model from the data in another Pydantic model.