Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for body_fields (0.08 sec)

  1. docs/uk/docs/tutorial/body-fields.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/body-fields.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ nicht annotiert
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/body-fields.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ Annotated가 없는 경우
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/body-fields.md

    ## Импорт `Field`
    
    Сначала вы должны импортировать его:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="2"
    {!> ../../docs_src/body_fields/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001.py!}
    ```
    
    ////
    
    /// warning | "Внимание"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/body-fields.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/body-fields.md

    ```Python hl_lines="4"
    {!../../docs_src/body_fields/tutorial001.py!}
    ```
    
    /// warning | "Aviso"
    
    Note que `Field` é importado diretamente do `pydantic`, não do `fastapi` como todo o resto (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare atributos do modelo
    
    Você pode então utilizar `Field` com atributos do modelo:
    
    ```Python hl_lines="11-14"
    {!../../docs_src/body_fields/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. fastapi/dependencies/utils.py

        ):
            return True
        return False
    
    
    async def _extract_form_body(
        body_fields: List[ModelField],
        received_body: FormData,
    ) -> Dict[str, Any]:
        values = {}
        first_field = body_fields[0]
        first_field_info = first_field.field_info
    
        for field in body_fields:
            value = _get_multidict_value(field, received_body)
            if (
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/body-fields.md

    ## 🗄 `Field`
    
    🥇, 👆 ✔️ 🗄 ⚫️:
    
    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    ```Python hl_lines="2"
    {!> ../../docs_src/body_fields/tutorial001_py310.py!}
    ```
    
    ////
    
    /// warning
    
    👀 👈 `Field` 🗄 🔗 ⚪️➡️ `pydantic`, 🚫 ⚪️➡️ `fastapi` 🌐 🎂 (`Query`, `Path`, `Body`, ♒️).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/body-fields.md

    まず、以下のようにインポートします:
    
    ```Python hl_lines="4"
    {!../../docs_src/body_fields/tutorial001.py!}
    ```
    
    /// warning | "注意"
    
    `Field`は他の全てのもの(`Query`、`Path`、`Body`など)とは違い、`fastapi`からではなく、`pydantic`から直接インポートされていることに注意してください。
    
    ///
    
    ## モデルの属性の宣言
    
    以下のように`Field`をモデルの属性として使用することができます:
    
    ```Python hl_lines="11 12 13 14"
    {!../../docs_src/body_fields/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-fields.md

    First, you have to import it:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare model attributes
    
    You can then use `Field` with model attributes:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:01:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top