✏️ Fix typo in `docs/en/docs/tutorial/extra-models.md` (#11329)

This commit is contained in:
Alejandra 2024-03-21 16:54:22 -05:00 committed by GitHub
parent 96b14d9f33
commit 7b1da59b28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.