- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 642 for tutorial009_py39 (0.58 sec)
-
docs/zh/docs/tutorial/request-files.md
## 多文件上传 FastAPI 支持同时上传多个文件。 可用同一个「表单字段」发送含多个文件的「表单数据」。 上传多个文件时,要声明含 `bytes` 或 `UploadFile` 的列表(`List`): {* ../../docs_src/request_files/tutorial002_py39.py hl[8,13] *} 接收的也是含 `bytes` 或 `UploadFile` 的列表(`list`)。 /// note | 技术细节 也可以使用 `from starlette.responses import HTMLResponse`。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.3K bytes - Viewed (0) -
docs/es/docs/how-to/extending-openapi.md
{* ../../docs_src/extending_openapi/tutorial001_py39.py hl[1,4,7:9] *} ### Generar el esquema de OpenAPI { #generate-the-openapi-schema } Luego, usa la misma función de utilidad para generar el esquema de OpenAPI, dentro de una función `custom_openapi()`: {* ../../docs_src/extending_openapi/tutorial001_py39.py hl[2,15:21] *} ### Modificar el esquema de OpenAPI { #modify-the-openapi-schema }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/de/docs/how-to/extending-openapi.md
{* ../../docs_src/extending_openapi/tutorial001_py39.py hl[1,4,7:9] *} ### Das OpenAPI-Schema generieren { #generate-the-openapi-schema } Verwenden Sie dann dieselbe Hilfsfunktion, um das OpenAPI-Schema innerhalb einer `custom_openapi()`-Funktion zu generieren: {* ../../docs_src/extending_openapi/tutorial001_py39.py hl[2,15:21] *} ### Das OpenAPI-Schema ändern { #modify-the-openapi-schema }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial007.py
from unittest.mock import Mock, patch from docs_src.dependencies.tutorial007_py39 import get_db def test_get_db(): # Just for coverage async def test_async_gen(): cm = asynccontextmanager(get_db) async with cm() as db_session: return db_session dbsession_moock = Mock() with patch( "docs_src.dependencies.tutorial007_py39.DBSession", return_value=dbsession_moock,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 642 bytes - Viewed (0) -
docs/es/docs/advanced/sub-applications.md
{* ../../docs_src/sub_applications/tutorial001_py39.py hl[3, 6:8] *} ### Sub-aplicación { #sub-application } Luego, crea tu sub-aplicación, y sus *path operations*. Esta sub-aplicación es solo otra aplicación estándar de FastAPI, pero es la que se "montará": {* ../../docs_src/sub_applications/tutorial001_py39.py hl[11, 14:16] *} ### Montar la sub-aplicación { #mount-the-sub-application }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/pt/docs/advanced/sub-applications.md
{* ../../docs_src/sub_applications/tutorial001_py39.py hl[3, 6:8] *} ### Sub-aplicação { #sub-application } Em seguida, crie sua sub-aplicação e suas *operações de rota*. Essa sub-aplicação é apenas outra aplicação FastAPI padrão, mas esta é a que será "montada": {* ../../docs_src/sub_applications/tutorial001_py39.py hl[11, 14:16] *} ### Monte a sub-aplicação { #mount-the-sub-application }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.3K bytes - Viewed (0) -
docs/ko/docs/tutorial/extra-models.md
{* ../../docs_src/extra_models/tutorial004_py39.py hl[18] *} ## 임의의 `dict` 응답 Pydantic 모델을 사용하지 않고, 키와 값의 타입만 선언하여 평범한 임의의 `dict`로 응답을 선언할 수도 있습니다. 이는 Pydantic 모델에 필요한 유효한 필드/속성 이름을 사전에 알 수 없는 경우에 유용합니다. 이 경우, `typing.Dict`를 사용할 수 있습니다(또는 Python 3.9 이상에서는 단순히 `dict`를 사용할 수 있습니다): {* ../../docs_src/extra_models/tutorial005_py39.py hl[6] *} ## 요약Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 30 13:38:33 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/de/docs/advanced/sub-applications.md
{* ../../docs_src/sub_applications/tutorial001_py39.py hl[3, 6:8] *} ### Unteranwendung { #sub-application } Erstellen Sie dann Ihre Unteranwendung und deren *Pfadoperationen*. Diese Unteranwendung ist nur eine weitere Standard-FastAPI-Anwendung, aber diese wird „gemountet“: {* ../../docs_src/sub_applications/tutorial001_py39.py hl[11, 14:16] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.4K bytes - Viewed (0) -
docs/en/docs/advanced/sub-applications.md
{* ../../docs_src/sub_applications/tutorial001_py39.py hl[3, 6:8] *} ### Sub-application { #sub-application } Then, create your sub-application, and its *path operations*. This sub-application is just another standard FastAPI application, but this is the one that will be "mounted": {* ../../docs_src/sub_applications/tutorial001_py39.py hl[11, 14:16] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3K bytes - Viewed (0) -
docs/ru/docs/tutorial/background-tasks.md
{* ../../docs_src/background_tasks/tutorial001_py39.py hl[6:9] *} ## Добавление фоновой задачи { #add-the-background-task } Внутри вашей функции‑обработчика пути передайте функцию задачи объекту фоновых задач методом `.add_task()`: {* ../../docs_src/background_tasks/tutorial001_py39.py hl[14] *} `.add_task()` принимает следующие аргументы:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.6K bytes - Viewed (0)