Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for tutorial003_05_py39 (0.07 sec)

  1. docs_src/response_model/tutorial003_05_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 405 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_response_model/test_tutorial003_05.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial003_05_py39"),
            pytest.param("tutorial003_05_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.response_model.{request.param}")
    
        client = TestClient(mod.app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. docs_src/response_model/tutorial003_01_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 349 bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_02_py39.py hl[8,10:11] *}
    
    Dieser einfache Anwendungsfall wird automatisch von FastAPI gehandhabt, weil die Annotation des Rückgabetyps die Klasse (oder eine Unterklasse von) `Response` ist.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. docs_src/body_multiple_params/tutorial003_an_py39.py

    Sebastián Ramírez <******@****.***> 1679142599 +0100
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 575 bytes
    - Viewed (0)
  6. docs_src/response_model/tutorial003_04_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 384 bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/response-model.md

    Самый распространённый случай — [возвращать Response напрямую, как описано далее в разделах для продвинутых](../advanced/response-directly.md){.internal-link target=_blank}.
    
    {* ../../docs_src/response_model/tutorial003_02_py39.py hl[8,10:11] *}
    
    Этот простой случай обрабатывается FastAPI автоматически, потому что аннотация возвращаемого типа — это класс (или подкласс) `Response`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. docs_src/response_model/tutorial003_02_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 381 bytes
    - Viewed (0)
  9. docs_src/response_model/tutorial003_03_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 241 bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-model.md

    The most common case would be [returning a Response directly as explained later in the advanced docs](../advanced/response-directly.md){.internal-link target=_blank}.
    
    {* ../../docs_src/response_model/tutorial003_02_py39.py hl[8,10:11] *}
    
    This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass of) `Response`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top