From 8486b4134991715ab56ad9a11d674d93fbf54967 Mon Sep 17 00:00:00 2001 From: hitrust Date: Tue, 15 Sep 2020 14:40:49 +0800 Subject: [PATCH] Fix tags's declare --- docs_src/body_nested_models/tutorial005.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs_src/body_nested_models/tutorial005.py b/docs_src/body_nested_models/tutorial005.py index 0c076d4f9..e76498c3b 100644 --- a/docs_src/body_nested_models/tutorial005.py +++ b/docs_src/body_nested_models/tutorial005.py @@ -16,7 +16,7 @@ class Item(BaseModel): description: Optional[str] = None price: float tax: Optional[float] = None - tags: Set[str] = [] + tags: Set[str] = set() image: Optional[Image] = None