mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-12 05:26:45 +00:00
✏ Reword and clarify text in tutorial docs/en/docs/tutorial/body-nested-models.md (#5169)
This commit is contained in:
parent
8d1d1703f4
commit
70213467a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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!}
|
{!> ../../../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
|
## List fields with type parameter
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue