Browse Source
🎨 Fix default value as set in tutorial for Path Operations Advanced Configurations (#4899)
pull/4904/head
Sebastián Ramírez
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docs_src/path_operation_advanced_configuration/tutorial004.py
|
|
@ -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") |
|
|
|