- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 528 for tutorial005_py39 (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/how-to/extending-openapi.md
First, write all your **FastAPI** application as normally: {* ../../docs_src/extending_openapi/tutorial001_py39.py hl[1,4,7:9] *} ### Generate the OpenAPI schema { #generate-the-openapi-schema } Then, use the same utility function to generate the OpenAPI schema, inside a `custom_openapi()` function: {* ../../docs_src/extending_openapi/tutorial001_py39.py hl[2,15:21] *} ### Modify the OpenAPI schema { #modify-the-openapi-schema }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/ru/docs/advanced/sub-applications.md
{* ../../docs_src/sub_applications/tutorial001_py39.py hl[3, 6:8] *} ### Подприложение { #sub-application } Затем создайте подприложение и его *операции пути*. Это подприложение — обычное стандартное приложение FastAPI, но именно оно будет «смонтировано»: {* ../../docs_src/sub_applications/tutorial001_py39.py hl[11, 14:16] *} ### Смонтируйте подприложение { #mount-the-sub-application }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.8K bytes - Click Count (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,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 642 bytes - Click Count (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] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3K bytes - Click Count (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 }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.2K bytes - Click Count (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 }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/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] *}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/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()` принимает следующие аргументы:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.6K bytes - Click Count (0) -
docs/es/docs/tutorial/background-tasks.md
{* ../../docs_src/background_tasks/tutorial001_py39.py hl[6:9] *} ## Agregar la tarea en segundo plano { #add-the-background-task } Dentro de tu *path operation function*, pasa tu función de tarea al objeto de *background tasks* con el método `.add_task()`: {* ../../docs_src/background_tasks/tutorial001_py39.py hl[14] *} `.add_task()` recibe como argumentos:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.1K bytes - Click Count (0) -
tests/test_tutorial/test_custom_response/test_tutorial007.py
from fastapi.testclient import TestClient from docs_src.custom_response.tutorial007_py39 import app client = TestClient(app) def test_get(): fake_content = b"some fake video bytes" response = client.get("/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 269 bytes - Click Count (0)