From dfcc6bc154d3d6fb0a072649234c5fc3c2b19673 Mon Sep 17 00:00:00 2001 From: hitrust Date: Fri, 6 Nov 2020 05:38:59 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Fix=20example=20code=20with=20se?= =?UTF-8?q?ts=20in=20Tutorial=20-=20Body=20-=20Nested=20Models=20(#2052)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs_src/body_nested_models/tutorial007.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs_src/body_nested_models/tutorial007.py b/docs_src/body_nested_models/tutorial007.py index 9f321643c..dfbbeaab1 100644 --- a/docs_src/body_nested_models/tutorial007.py +++ b/docs_src/body_nested_models/tutorial007.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() images: Optional[List[Image]] = None