- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 543 for item_d (0.04 seconds)
-
docs/fr/docs/python-types.md
/// Ce qui signifie : "la variable `items` est une `list`, et chacun de ses éléments a pour type `str`. En faisant cela, votre éditeur pourra vous aider, même pendant que vous traitez des éléments de la liste. <img src="/img/python-types/image05.png"> Sans types, c'est presque impossible à réaliser. Vous remarquerez que la variable `item` n'est qu'un des éléments de la list `items`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 10K bytes - Click Count (0) -
tests/test_tutorial/test_security/test_tutorial004.py
client = TestClient(mod.app) access_token = get_access_token(client=client) response = client.get( "/users/me/items/", headers={"Authorization": f"Bearer {access_token}"} ) assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo", "owner": "johndoe"}] def test_openapi_schema(mod: ModuleType): client = TestClient(mod.app)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 13.3K bytes - Click Count (0) -
docs/ko/docs/tutorial/query-params.md
이 경우, 아래로 이동하면: ``` http://127.0.0.1:8000/items/foo?short=1 ``` 또는 ``` http://127.0.0.1:8000/items/foo?short=True ``` 또는 ``` http://127.0.0.1:8000/items/foo?short=true ``` 또는 ``` http://127.0.0.1:8000/items/foo?short=on ``` 또는 ``` http://127.0.0.1:8000/items/foo?short=yes ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.2K bytes - Click Count (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)], ):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 4.1K bytes - Click Count (0) -
docs/ru/docs/python-types.md
/// Это означает: «переменная `items` — это `list`, и каждый элемент этого списка — `str`». Таким образом, ваш редактор кода сможет помогать даже при обработке элементов списка: <img src="/img/python-types/image05.png"> Без типов добиться этого почти невозможно. Обратите внимание, что переменная `item` — один из элементов списка `items`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 24.4K bytes - Click Count (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" } ``` そして当然、あるパラメータを必須に、別のパラメータにデフォルト値を設定し、また別のパラメータをオプショナルにできます: {* ../../docs_src/query_params/tutorial006.py hl[10] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.4K bytes - Click Count (0) -
docs/uk/docs/python-types.md
//// //// tab | Python 3.9 і вище ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial007_py39.py!} ``` //// Це означає: * Змінна `items_t` це `tuple` з 3 елементами, `int`, ще `int`, та `str`. * Змінна `items_s` це `set`, і кожен його елемент типу `bytes`. #### Dict (словник) Щоб оголосити `dict`, вам потрібно передати 2 параметри типу, розділені комами.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 19.4K bytes - Click Count (0) -
docs/zh/docs/python-types.md
由于列表是带有"子类型"的类型,所以我们把子类型放在方括号中: {* ../../docs_src/python_types/tutorial006.py hl[4] *} 这表示:"变量 `items` 是一个 `list`,并且这个列表里的每一个元素都是 `str`"。 这样,即使在处理列表中的元素时,你的编辑器也可以提供支持。 没有类型,几乎是不可能实现下面这样: <img src="https://fastapi.tiangolo.com/img/python-types/image05.png"> 注意,变量 `item` 是列表 `items` 中的元素之一。 而且,编辑器仍然知道它是一个 `str`,并为此提供了支持。 #### 元组和集合 声明 `tuple` 和 `set` 的方法也是一样的:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Aug 18 06:34:40 GMT 2025 - 8.6K bytes - Click Count (0) -
docs/de/docs/tutorial/bigger-applications.md
## Ein weiteres Modul mit `APIRouter` { #another-module-with-apirouter } Nehmen wir an, Sie haben im Modul unter `app/routers/items.py` auch die Endpunkte, die für die Verarbeitung von Artikeln („Items“) aus Ihrer Anwendung vorgesehen sind. Sie haben *Pfadoperationen* für: * `/items/` * `/items/{item_id}` Es ist alles die gleiche Struktur wie bei `app/routers/users.py`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 13:54:34 GMT 2025 - 21.3K bytes - Click Count (0) -
docs/ru/docs/tutorial/bigger-applications.md
## Ещё один модуль с `APIRouter` { #another-module-with-apirouter } Давайте также предположим, что у вас есть *эндпоинты*, отвечающие за обработку "items", и они находятся в модуле `app/routers/items.py`. У вас определены следующие *операции пути* (*эндпоинты*): * `/items/` * `/items/{item_id}` Тут всё точно также, как и в ситуации с `app/routers/users.py`. Но теперь мы хотим поступить немного умнее и слегка упростить код.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 21:25:03 GMT 2025 - 30.4K bytes - Click Count (0)