- Sort Score
- Result 10 results
- Languages All
Results 31 - 36 of 36 for 2012 (0.25 sec)
-
docs_src/response_model/tutorial004_py39.py
price: float tax: float = 10.5 tags: list[str] = [] items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2}, "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []}, } @app.get("/items/{item_id}", response_model=Item, response_model_exclude_unset=True) async def read_item(item_id: str):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 627 bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial004_py310.py
@pytest.mark.parametrize( "url,data", [ ("/items/foo", {"name": "Foo", "price": 50.2}), ( "/items/bar", {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2}, ), ( "/items/baz", { "name": "Baz", "description": None, "price": 50.2, "tax": 10.5,
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Aug 04 20:47:07 GMT 2023 - 5.2K bytes - Viewed (0) -
docs/en/docs/tutorial/body-updates.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.6K bytes - Viewed (0) -
docs/em/docs/tutorial/body-updates.md
`PUT` โ๏ธ ๐จ ๐ฝ ๐ ๐ โ โป ๐ฝ. ### โ ๐ โ ๐ โ ๐ ๐ฅ ๐ ๐ โน ๐ฌ `bar` โ๏ธ `PUT` โฎ๏ธ ๐ช โ: ```Python { "name": "Barz", "price": 3, "description": None, } ``` โฉ๏ธ โซ๏ธ ๐ซ ๐ โช ๐ช ๐ข `"tax": 20.2`, ๐ข ๐ท ๐ โ ๐ข ๐ฒ `"tax": 10.5`. & ๐ ๐ ๐ โฎ๏ธ ๐ "๐" `tax` `10.5`. ## ๐ โน โฎ๏ธ `PATCH`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-updates.md
ๆขๅญใฎใใผใฟใ็ฝฎใๆใใในใใใผใฟใๅใๅใใใใซ`PUT`ใฏไฝฟ็จใใใพใใ ### ็ฝฎๆใซใคใใฆใฎๆณจๆ ใคใพใใ`PUT`ใไฝฟ็จใใฆไปฅไธใฎใใใฃใง้ ็ฎ`bar`ใๆดๆฐใใใๅ ดๅใฏ: ```Python { "name": "Barz", "price": 3, "description": None, } ``` ใใงใซๆ ผ็ดใใใฆใใๅฑๆง`"tax": 20.2`ใๅซใพใชใใใใๅ ฅๅใขใใซใฎใใใฉใซใๅคใฏ`"tax": 10.5`ใงใใ ใใใฆใใใผใฟใฏใใฎใๆฐใใใ`10.5`ใฎ`tax`ใจๅ ฑใซไฟๅญใใใพใใ ## `PATCH`ใซใใ้จๅ็ใชๆดๆฐ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-model.md
#### ๊ธฐ๋ณธ๊ฐ์ด ์๋ ํ๋๋ฅผ ๊ฐ๋ ๊ฐ์ ๋ฐ์ดํฐ ํ์ง๋ง ๋ชจ๋ธ์ ํ๋๊ฐ ๊ธฐ๋ณธ๊ฐ์ด ์์ด๋ ID๊ฐ `bar`์ธ ํญ๋ชฉ(items)์ฒ๋ผ ๋ฐ์ดํฐ๊ฐ ๊ฐ์ ๊ฐ๋๋ค๋ฉด: ```Python hl_lines="3 5" { "name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2 } ``` ์๋ต์ ํด๋น ๊ฐ๋ค์ด ํฌํจ๋ฉ๋๋ค. #### ๊ธฐ๋ณธ๊ฐ๊ณผ ๋์ผํ ๊ฐ์ ๊ฐ๋ ๋ฐ์ดํฐ If the data has the same values as the default ones, like the item with ID `baz`: ID๊ฐ `baz`์ธ ํญ๋ชฉ(items)์ฒ๋ผ ๊ธฐ๋ณธ๊ฐ๊ณผ ๋์ผํ ๊ฐ์ ๊ฐ๋๋ค๋ฉด:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.2K bytes - Viewed (0)