mirror of https://github.com/tiangolo/fastapi.git
✏ Reword and clarify text in tutorial `docs/en/docs/tutorial/body-nested-models.md` (#5169)
This commit is contained in:
parent
8d1d1703f4
commit
70213467a6
|
|
@ -18,7 +18,7 @@ You can define an attribute to be a subtype. For example, a Python `list`:
|
|||
{!> ../../../docs_src/body_nested_models/tutorial001_py310.py!}
|
||||
```
|
||||
|
||||
This will make `tags` be a list of items. Although it doesn't declare the type of each of the items.
|
||||
This will make `tags` be a list, although it doesn't declare the type of the elements of the list.
|
||||
|
||||
## List fields with type parameter
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue