Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 609 for tutorial013_py39 (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tests/test_tutorial/test_testing/test_tutorial003.py

    import pytest
    
    
    def test_main():
        with pytest.warns(DeprecationWarning):
            from docs_src.app_testing.tutorial003_py39 import test_read_items
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 172 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_python_types/test_tutorial011.py

    import runpy
    from unittest.mock import patch
    
    import pytest
    
    from ...utils import needs_py310
    
    
    @pytest.mark.parametrize(
        "module_name",
        [
            pytest.param("tutorial011_py39"),
            pytest.param("tutorial011_py310", marks=needs_py310),
        ],
    )
    def test_run_module(module_name: str):
        with patch("builtins.print") as mock_print:
            runpy.run_module(f"docs_src.python_types.{module_name}", run_name="__main__")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 691 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_python_types/test_tutorial012.py

    from docs_src.python_types.tutorial012_py39 import User
    
    
    def test_user():
        user = User(name="John Doe", age=30)
        assert user.name == "John Doe"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 177 bytes
    - Viewed (0)
  7. 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)
  8. tests/test_tutorial/test_advanced_middleware/test_tutorial003.py

    from fastapi.responses import PlainTextResponse
    from fastapi.testclient import TestClient
    
    from docs_src.advanced_middleware.tutorial003_py39 import app
    
    
    @app.get("/large")
    async def large():
        return PlainTextResponse("x" * 4000, status_code=200)
    
    
    client = TestClient(app)
    
    
    def test_middleware():
        response = client.get("/large", headers={"accept-encoding": "gzip"})
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 670 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top