- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 726 for iter (0.01 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 12 14:59:46 GMT 2025 - 8.7K bytes - Click Count (0) -
docs/es/docs/tutorial/body-updates.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 5.1K bytes - Click Count (0) -
docs/fr/docs/tutorial/query-params.md
} ] } ``` La présence de `needy` étant nécessaire, vous auriez besoin de l'insérer dans l'URL : ``` http://127.0.0.1:8000/items/foo-item?needy=sooooneedy ``` ...ce qui fonctionnerait : ```JSON { "item_id": "foo-item", "needy": "sooooneedy" } ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 5.6K bytes - Click Count (0) -
docs/de/docs/tutorial/query-params.md
} ] } ``` Da `needy` ein erforderlicher Parameter ist, müssen Sie ihn in der URL setzen: ``` http://127.0.0.1:8000/items/foo-item?needy=sooooneedy ``` ... Das funktioniert: ```JSON { "item_id": "foo-item", "needy": "sooooneedy" } ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5K bytes - Click Count (0) -
docs_src/app_testing/app_b_py310/test_main.py
def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404 assert response.json() == {"detail": "Item not found"} def test_create_item(): response = client.post( "/items/", headers={"X-Token": "coneofsilence"}, json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 1.8K bytes - Click Count (0) -
tests/test_tutorial/test_handling_errors/test_tutorial004.py
}, }, "summary": "Read Item", "operationId": "read_item_items__item_id__get", "parameters": [ { "required": True, "schema": {"title": "Item Id", "type": "integer"}, "name": "item_id",Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/pt/docs/advanced/sub-applications.md
# Sub Aplicações - Montagens { #sub-applications-mounts } Se você precisar ter duas aplicações FastAPI independentes, cada uma com seu próprio OpenAPI e suas próprias interfaces de documentação, você pode ter um aplicativo principal e "montar" uma (ou mais) sub-aplicações. ## Montando uma aplicação **FastAPI** { #mounting-a-fastapi-application }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.3K bytes - Click Count (0) -
docs/de/docs/tutorial/body.md
* Ihnen die erhaltenen Daten im Parameter `item` übergeben. * Da Sie ihn in der Funktion als vom Typ `Item` deklariert haben, erhalten Sie auch die volle Unterstützung des Editors (Autovervollständigung, usw.) für alle Attribute und deren Typen.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 7.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/body.md
使用与声明路径和查询参数相同的方式声明请求体,把请求体添加至*路径操作*: {* ../../docs_src/body/tutorial001_py310.py hl[16] *} ……此处,请求体参数的类型为 `Item` 模型。 ## 结论 仅使用 Python 类型声明,**FastAPI** 就可以: * 以 JSON 形式读取请求体 * (在必要时)把请求体转换为对应的类型 * 校验数据: * 数据无效时返回错误信息,并指出错误数据的确切位置和内容 * 把接收的数据赋值给参数 `item` * 把函数中请求体参数的类型声明为 `Item`,还能获得代码补全等编辑器支持 * 为模型生成 <a href="https://json-schema.org" class="external-link" target="_blank">JSON Schema</a>,在项目中所需的位置使用Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.5K bytes - Click Count (0) -
tests/test_additional_response_extra.py
"description": "Successful Response", "content": {"application/json": {"schema": {}}}, } }, "summary": "Read Item", "operationId": "read_item_items__get", } } },
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.2K bytes - Click Count (0)