Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 652 for tutorial003_py39 (0.07 sec)

  1. tests/test_tutorial/test_python_types/test_tutorial001_tutorial002.py

    import runpy
    from unittest.mock import patch
    
    import pytest
    
    
    @pytest.mark.parametrize(
        "module_name",
        [
            "tutorial001_py39",
            "tutorial002_py39",
        ],
    )
    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
    - 398 bytes
    - Viewed (0)
  2. docs/es/docs/how-to/custom-docs-ui-assets.md

    Para desactivarlos, establece sus URLs en `None` cuando crees tu aplicación de `FastAPI`:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py39.py hl[8] *}
    
    ### Incluye la documentación personalizada { #include-the-custom-docs }
    
    Ahora puedes crear las *path operations* para la documentación personalizada.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. docs/pt/docs/how-to/custom-docs-ui-assets.md

    O primeiro passo é desativar a documentação automática, pois por padrão, ela usa o CDN padrão.
    
    Para desativá-los, defina suas URLs como `None` ao criar sua aplicação FastAPI:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py39.py hl[8] *}
    
    ### Incluir a documentação personalizada { #include-the-custom-docs }
    
    Agora você pode criar as *operações de rota* para a documentação personalizada.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. docs/ru/docs/how-to/custom-docs-ui-assets.md

    Чтобы отключить её, установите их URL в значение `None` при создании вашего приложения `FastAPI`:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py39.py hl[8] *}
    
    ### Подключить пользовательскую документацию { #include-the-custom-docs }
    
    Теперь вы можете создать *операции пути* для пользовательской документации.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_response_status_code/test_tutorial001_tutorial002.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial002_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.response_status_code.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. docs/de/docs/how-to/custom-docs-ui-assets.md

    Um diese zu deaktivieren, setzen Sie deren URLs beim Erstellen Ihrer `FastAPI`-App auf `None`:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py39.py hl[8] *}
    
    ### Die benutzerdefinierten Dokumentationen hinzufügen { #include-the-custom-docs }
    
    Jetzt können Sie die *Pfadoperationen* für die benutzerdefinierten Dokumentationen erstellen.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/custom-docs-ui-assets.md

    The first step is to disable the automatic docs, as by default, those use the default CDN.
    
    To disable them, set their URLs to `None` when creating your `FastAPI` app:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py39.py hl[8] *}
    
    ### Include the custom docs { #include-the-custom-docs }
    
    Now you can create the *path operations* for the custom docs.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/response-status-code.md

    Let's see the previous example again:
    
    {* ../../docs_src/response_status_code/tutorial001_py39.py hl[6] *}
    
    `201` is the status code for "Created".
    
    But you don't have to memorize what each of these codes mean.
    
    You can use the convenience variables from `fastapi.status`.
    
    {* ../../docs_src/response_status_code/tutorial002_py39.py hl[1,6] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/response-cookies.md

    Und dann können Sie Cookies in diesem *vorübergehenden* <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr>-Objekt setzen.
    
    {* ../../docs_src/response_cookies/tutorial002_py39.py hl[1, 8:9] *}
    
    Anschließend können Sie wie gewohnt jedes gewünschte Objekt zurückgeben (ein `dict`, ein Datenbankmodell, usw.).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/response-cookies.md

    Você pode declarar um parâmetro do tipo `Response` na sua *função de operação de rota*.
    
    E então você pode definir cookies nesse objeto de resposta *temporário*.
    
    {* ../../docs_src/response_cookies/tutorial002_py39.py hl[1, 8:9] *}
    
    Em seguida, você pode retornar qualquer objeto que precise, como normalmente faria (um `dict`, um modelo de banco de dados, etc).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top