🎨 Fix default value as set in tutorial for Path Operations Advanced Configurations (#4899)

This commit is contained in:
Sebastián Ramírez 2022-05-12 15:47:31 -05:00 committed by GitHub
parent 975d859ac4
commit 8b66b9ca3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class Item(BaseModel):
description: Optional[str] = None
price: float
tax: Optional[float] = None
tags: Set[str] = []
tags: Set[str] = set()
@app.post("/items/", response_model=Item, summary="Create an item")