Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 295 for tutorial002_py310 (0.18 sec)

  1. docs/pt/docs/tutorial/path-operation-configuration.md

    ```
    
    ////
    
    //// tab | Python 3.9 and above
    
    ```Python hl_lines="17  22  27"
    {!> ../../docs_src/path_operation_configuration/tutorial002_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.10 and above
    
    ```Python hl_lines="15  20  25"
    {!> ../../docs_src/path_operation_configuration/tutorial002_py310.py!}
    ```
    
    ////
    
    Eles serão adicionados ao esquema OpenAPI e usados pelas interfaces de documentação automática:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/header-params.md

    ```Python hl_lines="10"
    {!> ../../docs_src/header_params/tutorial002.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    ```Python hl_lines="8"
    {!> ../../docs_src/header_params/tutorial002_py310.py!}
    ```
    
    ////
    
    /// warning
    
    ⏭ ⚒ `convert_underscores` `False`, 🐻 🤯 👈 🇺🇸🔍 🗳 & 💽 / ⚙️ 🎚 ⏮️ 🎦.
    
    ///
    
    ## ❎ 🎚
    
    ⚫️ 💪 📨 ❎ 🎚. 👈 ⛓, 🎏 🎚 ⏮️ 💗 💲.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/path-operation-configuration.md

    ```
    
    ////
    
    //// tab | 🐍 3️⃣.9️⃣ & 🔛
    
    ```Python hl_lines="17  22  27"
    {!> ../../docs_src/path_operation_configuration/tutorial002_py39.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    ```Python hl_lines="15  20  25"
    {!> ../../docs_src/path_operation_configuration/tutorial002_py310.py!}
    ```
    
    ////
    
    👫 🔜 🚮 🗄 🔗 & ⚙️ 🏧 🧾 🔢:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/body-multiple-params.md

        "tax": 3.2
    }
    ```
    
    Mas você pode também declarar múltiplos parâmetros de corpo, por exemplo, `item` e `user`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="20"
    {!> ../../docs_src/body_multiple_params/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="22"
    {!> ../../docs_src/body_multiple_params/tutorial002.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py

    import os
    from pathlib import Path
    
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @needs_py310
    def test():
        from docs_src.background_tasks.tutorial002_py310 import app
    
        client = TestClient(app)
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***?q=some-query")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 628 bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/header-params.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="8"
    {!> ../../docs_src/header_params/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="10"
    {!> ../../docs_src/header_params/tutorial002.py!}
    ```
    
    ////
    
    /// warning | "Aviso"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/response-model.md

    {!> ../../docs_src/response_model/tutorial003_py310.py!}
    ```
    
    ////
    
    📥, ✋️ 👆 *➡ 🛠️ 🔢* 🛬 🎏 🔢 👩‍💻 👈 🔌 🔐:
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; 🔛
    
    ```Python hl_lines="24"
    {!> ../../docs_src/response_model/tutorial003.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ &amp; 🔛
    
    ```Python hl_lines="24"
    {!> ../../docs_src/response_model/tutorial003_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/header-param-models.md

    ///
    
    ```Python hl_lines="8"
    {!> ../../docs_src/header_param_models/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="10"
    {!> ../../docs_src/header_param_models/tutorial002_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py

    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310, needs_pydanticv2
    
    
    @pytest.fixture(name="client")
    def get_client() -> TestClient:
        from docs_src.separate_openapi_schemas.tutorial002_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_create_item(client: TestClient) -> None:
        response = client.post("/items/", json={"name": "Foo"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/header-param-models.md

    ///
    
    ```Python hl_lines="8"
    {!> ../../docs_src/header_param_models/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ non-Annotated
    
    /// tip | Dica
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="10"
    {!> ../../docs_src/header_param_models/tutorial002_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | Dica
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:41:28 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top