📝 Fix example code with sets in Tutorial - Body - Nested Models (#2052)

This commit is contained in:
hitrust 2020-11-06 05:38:59 +08:00 committed by GitHub
parent 7e708f7411
commit dfcc6bc154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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