Browse Source

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

pull/2102/head
hitrust 4 years ago
committed by GitHub
parent
commit
dfcc6bc154
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs_src/body_nested_models/tutorial007.py

2
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

Loading…
Cancel
Save