Browse Source

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

pull/11335/head
Alejandra 1 year ago
committed by GitHub
parent
commit
7b1da59b28
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/docs/tutorial/extra-models.md

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

Loading…
Cancel
Save