Browse Source

Fix tags's declare (#2054)

pull/2102/head
Sebastián Ramírez 4 years ago
committed by GitHub
parent
commit
24d2226326
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs_src/body_nested_models/tutorial005.py

2
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

Loading…
Cancel
Save