- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 540 for item_c (0.06 sec)
-
tests/test_tutorial/test_custom_response/test_tutorial001.py
client = TestClient(mod.app) return client def test_get_custom_response(client: TestClient): response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo"}] def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.3K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
/// ## Another module with `APIRouter` { #another-module-with-apirouter } Let's say you also have the endpoints dedicated to handling "items" from your application in the module at `app/routers/items.py`. You have *path operations* for: * `/items/` * `/items/{item_id}` It's all the same structure as with `app/routers/users.py`. But we want to be smarter and simplify the code a bit.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 18.6K 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 Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params.md
Nesse caso, se você for para: ``` 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 Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 5K bytes - Viewed (0) -
docs/es/docs/tutorial/query-params.md
En este caso, si vas a: ``` http://127.0.0.1:8000/items/foo?short=1 ``` o ``` http://127.0.0.1:8000/items/foo?short=True ``` o ``` http://127.0.0.1:8000/items/foo?short=true ``` o ``` http://127.0.0.1:8000/items/foo?short=on ``` o ``` http://127.0.0.1:8000/items/foo?short=yes ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.8K bytes - Viewed (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 ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.2K bytes - Viewed (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 параметри типу, розділені комами.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 19.4K bytes - Viewed (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` 的方法也是一样的:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Aug 18 06:34:40 UTC 2025 - 8.6K bytes - Viewed (0) -
docs/en/docs/python-types.md
/// That means: "the variable `items` is a `list`, and each of the items in this list is a `str`". By doing that, your editor can provide support even while processing items from the list: <img src="/img/python-types/image05.png"> Without types, that's almost impossible to achieve. Notice that the variable `item` is one of the elements in the list `items`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 15.6K bytes - Viewed (0) -
docs/ko/docs/python-types.md
대괄호 안의 내부 타입은 "타입 매개변수(type paramters)"라고 합니다. 이번 예제에서는 `str`이 `List`에 들어간 타입 매개변수 입니다. /// 이는 "`items`은 `list`인데, 배열에 들어있는 아이템 각각은 `str`이다"라는 뜻입니다. 이렇게 함으로써, 에디터는 배열에 들어있는 아이템을 처리할때도 도움을 줄 수 있게 됩니다: <img src="/img/python-types/image05.png"> 타입이 없으면 이건 거의 불가능이나 다름 없습니다. 변수 `item`은 `items`의 개별 요소라는 사실을 알아두세요. 그리고 에디터는 계속 `str`라는 사실을 알고 도와줍니다. #### `Tuple`과 `Set`
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.2K bytes - Viewed (0)