Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1911 - 1920 of 1,962 for fastapi (0.18 sec)

  1. docs/pt/docs/tutorial/body-updates.md

    /// note | Nota
    
    `PATCH` é menos comumente usado e conhecido do que `PUT`.
    
    E muitas equipes usam apenas `PUT`, mesmo para atualizações parciais.
    
    Você é **livre** para usá-los como preferir, **FastAPI** não impõe restrições.
    
    Mas este guia te dá uma ideia de como eles são destinados a serem usados.
    
    ///
    
    ### Usando o parâmetro `exclude_unset` do Pydantic
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:16:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-updates.md

    /// note
    
    `PATCH` is less commonly used and known than `PUT`.
    
    And many teams use only `PUT`, even for partial updates.
    
    You are **free** to use them however you want, **FastAPI** doesn't impose any restrictions.
    
    But this guide shows you, more or less, how they are intended to be used.
    
    ///
    
    ### Using Pydantic's `exclude_unset` parameter
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. tests/test_application.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from .main import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/extra-models.md

        hashed_password = hashed_password,
    )
    ```
    
    /// warning
    
    🔗 🌖 🔢 🤖 💪 💧 💽, ✋️ 👫 ↗️ 🚫 🚚 🙆 🎰 💂‍♂.
    
    ///
    
    ## 📉 ❎
    
    📉 📟 ❎ 1️⃣ 🐚 💭 **FastAPI**.
    
    📟 ❎ 📈 🤞 🐛, 💂‍♂ ❔, 📟 🔁 ❔ (🕐❔ 👆 ℹ 1️⃣ 🥉 ✋️ 🚫 🎏), ♒️.
    
    & 👉 🏷 🌐 🤝 📚 💽 & ❎ 🔢 📛 & 🆎.
    
    👥 💪 👻.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/extra-models.md

    ///
    
    ## Сократите дублирование
    
    Сокращение дублирования кода - это одна из главных идей **FastAPI**.
    
    Поскольку дублирование кода повышает риск появления багов, проблем с безопасностью, проблем десинхронизации кода (когда вы обновляете код в одном месте, но не обновляете в другом), и т.д.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/extra-models.md

    ///
    
    ## Reduzir duplicação
    
    Reduzir a duplicação de código é uma das ideias principais no **FastAPI**.
    
    A duplicação de código aumenta as chances de bugs, problemas de segurança, problemas de desincronização de código (quando você atualiza em um lugar, mas não em outros), etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/extra-models.md

    ///
    
    ## Reduce duplication
    
    Reducing code duplication is one of the core ideas in **FastAPI**.
    
    As code duplication increments the chances of bugs, security issues, code desynchronization issues (when you update in one place but not in the others), etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/extra-models.md

    ///
    
    ## Verdopplung vermeiden
    
    Reduzierung von Code-Verdoppelung ist eine der Kern-Ideen von **FastAPI**.
    
    Weil Verdoppelung von Code die Wahrscheinlichkeit von Fehlern, Sicherheitsproblemen, Desynchronisation (Code wird nur an einer Stelle verändert, aber nicht an einer anderen), usw. erhöht.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/body-updates.md

    つまり、更新したいデータだけを送信して、残りはそのままにしておくことができます。
    
    /// note | "備考"
    
    `PATCH`は`PUT`よりもあまり使われておらず、知られていません。
    
    また、多くのチームは部分的な更新であっても`PUT`だけを使用しています。
    
    **FastAPI** はどんな制限も課けていないので、それらを使うのは **自由** です。
    
    しかし、このガイドでは、それらがどのように使用されることを意図しているかを多かれ少なかれ、示しています。
    
    ///
    
    ### Pydanticの`exclude_unset`パラメータの使用
    
    部分的な更新を受け取りたい場合は、Pydanticモデルの`.dict()`の`exclude_unset`パラメータを使用すると非常に便利です。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. tests/test_include_router_defaults_overrides.py

    import warnings
    
    import pytest
    from fastapi import APIRouter, Depends, FastAPI, Response
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    
    
    class ResponseLevel0(JSONResponse):
        media_type = "application/x-level-0"
    
    
    class ResponseLevel1(JSONResponse):
        media_type = "application/x-level-1"
    
    
    class ResponseLevel2(JSONResponse):
        media_type = "application/x-level-2"
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 358.6K bytes
    - Viewed (0)
Back to top