Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for tutorial003_05_py310 (0.06 sec)

  1. 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)
  2. docs/en/docs/tutorial/response-model.md

    In this case, you can disable the response model generation by setting `response_model=None`:
    
    {* ../../docs_src/response_model/tutorial003_05_py310.py hl[7] *}
    
    This will make FastAPI skip the response model generation and that way you can have any return type annotations you need without it affecting your FastAPI application. 🤓
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/response-model.md

    Neste caso, você pode desabilitar a geração do modelo de resposta definindo `response_model=None`:
    
    {* ../../docs_src/response_model/tutorial003_05_py310.py hl[7] *}
    
    Isso fará com que o FastAPI pule a geração do modelo de resposta e, dessa forma, você pode ter quaisquer anotações de tipo de retorno que precisar sem afetar seu aplicativo FastAPI. 🤓
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/response-model.md

    В этом случае вы можете отключить генерацию модели ответа, установив `response_model=None`:
    
    {* ../../docs_src/response_model/tutorial003_05_py310.py hl[7] *}
    
    Так FastAPI пропустит генерацию модели ответа, и вы сможете использовать любые аннотации возвращаемых типов, не влияя на ваше приложение FastAPI. 🤓
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/response-model.md

    In diesem Fall können Sie die Generierung des Responsemodells abschalten, indem Sie `response_model=None` setzen:
    
    {* ../../docs_src/response_model/tutorial003_05_py310.py hl[7] *}
    
    Das bewirkt, dass FastAPI die Generierung des Responsemodells unterlässt, und damit können Sie jede gewünschte Rückgabetyp-Annotation haben, ohne dass es Ihre FastAPI-Anwendung beeinflusst. 🤓
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/response-model.md

    En este caso, puedes desactivar la generación del modelo de response configurando `response_model=None`:
    
    {* ../../docs_src/response_model/tutorial003_05_py310.py hl[7] *}
    
    Esto hará que FastAPI omita la generación del modelo de response y de esa manera puedes tener cualquier anotación de tipo de retorno que necesites sin que afecte a tu aplicación FastAPI. 🤓
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  7. 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)
  8. docs_src/security/tutorial003_an_py310.py

    Motov Yurii <******@****.***> 1764010986 +0100
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py

    Sebastián Ramírez <******@****.***> 1760201154 +0200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 16:45:54 UTC 2025
    - 407 bytes
    - Viewed (0)
  10. pyproject.toml

        "tests",
        "fastapi"
    ]
    relative_files = true
    context = '${CONTEXT}'
    dynamic_context = "test_function"
    omit = [
        "docs_src/response_model/tutorial003_04_py39.py",
        "docs_src/response_model/tutorial003_04_py310.py",
        "docs_src/dependencies/tutorial008_an_py39.py",  # difficult to mock
        "docs_src/dependencies/tutorial013_an_py310.py",  # temporary code example?
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top