Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 550 for tutorial008d_py39 (0.08 sec)

  1. tests/test_tutorial/test_custom_response/test_tutorial002_tutorial003_tutorial004.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="mod_name",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial003_py39"),
            pytest.param("tutorial004_py39"),
        ],
    )
    def get_mod_name(request: pytest.FixtureRequest) -> str:
        return request.param
    
    
    @pytest.fixture(name="client")
    def get_client(mod_name: str) -> TestClient:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. docs/ru/docs/how-to/configure-swagger-ui.md

    <img src="/img/tutorial/extending-openapi/image02.png">
    
    Но вы можете отключить её, установив `syntaxHighlight` в `False`:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *}
    
    …и после этого Swagger UI больше не будет показывать подсветку синтаксиса:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Изменить тему { #change-the-theme }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/configure-swagger-ui.md

    <img src="/img/tutorial/extending-openapi/image02.png">
    
    But you can disable it by setting `syntaxHighlight` to `False`:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *}
    
    ...and then Swagger UI won't show the syntax highlighting anymore:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Change the Theme { #change-the-theme }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. docs/es/docs/how-to/configure-swagger-ui.md

    <img src="/img/tutorial/extending-openapi/image02.png">
    
    Pero puedes desactivarlo estableciendo `syntaxHighlight` en `False`:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *}
    
    ...y entonces Swagger UI ya no mostrará el resaltado de sintaxis:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Cambiar el tema { #change-the-theme }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial003_py39.py hl[6,11] *}
    
    Ansonsten würde der Pfad für `/users/{user_id}` auch `/users/me` auswerten, und annehmen, dass ein Parameter `user_id` mit dem Wert `"me"` übergeben wurde.
    
    Sie können eine Pfadoperation auch nicht erneut definieren:
    
    {* ../../docs_src/path_params/tutorial003b_py39.py hl[6,11] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/metadata.md

    Você pode defini-los da seguinte maneira:
    
    {* ../../docs_src/metadata/tutorial001_py39.py hl[3:16, 19:32] *}
    
    /// tip | Dica
    
    Você pode escrever Markdown no campo `description` e ele será renderizado na saída.
    
    ///
    
    Com essa configuração, a documentação automática da API se pareceria com:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/middleware.md

    {* ../../docs_src/advanced_middleware/tutorial001_py39.py hl[2,6] *}
    
    ## `TrustedHostMiddleware` { #trustedhostmiddleware }
    
    Impone que todas las requests entrantes tengan correctamente configurado el header `Host`, para proteger contra ataques de HTTP Host Header.
    
    {* ../../docs_src/advanced_middleware/tutorial002_py39.py hl[2,6:8] *}
    
    Se soportan los siguientes argumentos:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/events.md

    Let's start with an example and then see it in detail.
    
    We create an async function `lifespan()` with `yield` like this:
    
    {* ../../docs_src/events/tutorial003_py39.py hl[16,19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/events.md

    Vamos começar com um exemplo e depois ver em detalhes.
    
    Nós criamos uma função assíncrona `lifespan()` com `yield` assim:
    
    {* ../../docs_src/events/tutorial003_py39.py hl[16,19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. docs/en/docs/python-types.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ alternative
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009b_py39.py!}
    ```
    
    ////
    
    #### Using `Union` or `Optional` { #using-union-or-optional }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top