Browse Source
✏ Reword and clarify text in tutorial `docs/en/docs/tutorial/body-nested-models.md` (#5169)
pull/4200/merge
Pedro Augusto de Paula Barbosa
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docs/en/docs/tutorial/body-nested-models.md
|
|
@ -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 |
|
|
|
|
|
|
|