hitrust
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
3 deletions
-
docs_src/body_nested_models/tutorial004.py
-
docs_src/body_nested_models/tutorial004_py310.py
-
docs_src/body_nested_models/tutorial004_py39.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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ class Item(BaseModel): |
|
|
|
description: str | None = None |
|
|
|
price: float |
|
|
|
tax: float | None = None |
|
|
|
tags: set[str] = [] |
|
|
|
tags: set[str] = set() |
|
|
|
image: Image | None = None |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|
|
|