- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 593 for item_2 (0.1 sec)
-
docs/tr/docs/tutorial/query-params.md
``` http://127.0.0.1:8000/items/foo?short=1 ``` veya ``` http://127.0.0.1:8000/items/foo?short=True ``` veya ``` http://127.0.0.1:8000/items/foo?short=true ``` veya ``` http://127.0.0.1:8000/items/foo?short=on ``` veya ``` http://127.0.0.1:8000/items/foo?short=yes ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/fr/docs/tutorial/query-params.md
Avec ce code, en allant sur : ``` http://127.0.0.1:8000/items/foo?short=1 ``` ou ``` http://127.0.0.1:8000/items/foo?short=True ``` ou ``` http://127.0.0.1:8000/items/foo?short=true ``` ou ``` http://127.0.0.1:8000/items/foo?short=on ``` ou ``` http://127.0.0.1:8000/items/foo?short=yes ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 17:06:01 UTC 2024 - 5.6K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py
client = TestClient(app) @pytest.mark.parametrize( "path,expected_status,expected_response", [ ("/items/", 200, [{"name": "Foo", "price": 42}]), ("/users/", 200, [{"username": "johndoe"}]), ("/elements/", 200, [{"item_id": "Foo"}]), ], ) def test_query_params_str_validations(path, expected_status, expected_response): response = client.get(path)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.3K bytes - Viewed (0) -
docs/em/docs/python-types.md
/// ๐ โ: "๐ข `items` `list`, & ๐ ๐ฌ ๐ ๐ `str`". /// tip ๐ฅ ๐ โ๏ธ ๐ 3๏ธโฃ.9๏ธโฃ โ๏ธ ๐, ๐ ๐ซ โ๏ธ ๐ `List` โช๏ธโก๏ธ `typing`, ๐ ๐ช โ๏ธ ๐ ๐ฅ `list` ๐ โฉ๏ธ. /// ๐จ ๐, ๐ ๐จโ๐จ ๐ช ๐ ๐โ๐ฆบ โช ๐ญ ๐ฌ โช๏ธโก๏ธ ๐: <img src="/img/python-types/image05.png"> ๐ต ๐, ๐ ๐ ๐ช ๐. ๐ ๐ ๐ข `item` 1๏ธโฃ ๐ฃ ๐ `items`. & , ๐จโ๐จ ๐ญ โซ๏ธ `str`, & ๐ ๐โ๐ฆบ ๐.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.4K bytes - Viewed (0) -
tests/main.py
return "Hello World" @app.get("/path/{item_id}") def get_id(item_id): return item_id @app.get("/path/str/{item_id}") def get_str_id(item_id: str): return item_id @app.get("/path/int/{item_id}") def get_int_id(item_id: int): return item_id @app.get("/path/float/{item_id}") def get_float_id(item_id: float): return item_id @app.get("/path/bool/{item_id}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/ja/docs/tutorial/handling-errors.md
``` ### ใฌในใใณใน็ตๆ ใฏใฉใคใขใณใใ`http://example.com/items/foo`๏ผ`item_id` `"foo"`๏ผใใชใฏใจในใใใใจใHTTPในใใผใฟในใณใผใใ200ใงใไปฅไธใฎJSONใฌในใใณในใ่ฟใใใพใ: ```JSON { "item": "The Foo Wrestlers" } ``` ใใใใใฏใฉใคใขใณใใ`http://example.com/items/bar`๏ผๅญๅจใใชใ`item_id` `"bar"`๏ผใใชใฏใจในใใใๅ ดๅใHTTPในใใผใฟในใณใผใ404๏ผ"not found"ใจใฉใผ๏ผใจไปฅไธใฎJSONใฌในใใณในใ่ฟใใใพใ: ```JSON { "detail": "Item not found" } ``` /// tip | "่ฑ็ฅ่ญ"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py39.py
async def read_users_me( current_user: Annotated[User, Depends(get_current_active_user)], ): return current_user @app.get("/users/me/items/") async def read_own_items( current_user: Annotated[User, Depends(get_current_active_user)], ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.2K bytes - Viewed (0) -
docs_src/security/tutorial004.py
@app.get("/users/me/", response_model=User) async def read_users_me(current_user: User = Depends(get_current_active_user)): return current_user @app.get("/users/me/items/") async def read_own_items(current_user: User = Depends(get_current_active_user)):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.1K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py310.py
async def read_users_me( current_user: Annotated[User, Depends(get_current_active_user)], ): return current_user @app.get("/users/me/items/") async def read_own_items( current_user: Annotated[User, Depends(get_current_active_user)], ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/query-params.md
"type": "value_error.missing" } ] } ``` `needy` ใฏๅฟ ้ ใฎใใฉใกใผใฟใชใฎใงใURLใซใปใใใใๅฟ ่ฆใใใใพใ: ``` http://127.0.0.1:8000/items/foo-item?needy=sooooneedy ``` ...ใใใฏใใพใใใใงใใใ: ```JSON { "item_id": "foo-item", "needy": "sooooneedy" } ``` ใใใฆๅฝ็ถใใใใใฉใกใผใฟใๅฟ ้ ใซใๅฅใฎใใฉใกใผใฟใซใใใฉใซใๅคใ่จญๅฎใใใพใๅฅใฎใใฉใกใผใฟใใชใใทใงใใซใซใงใใพใ: ```Python hl_lines="10"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.5K bytes - Viewed (0)