Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 791 for body (0.04 sec)

  1. docs/de/docs/tutorial/body.md

    ///
    
    ## Ohne Pydantic
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/body.md

    Pydantic 模型的 JSON 概图是 OpenAPI 生成的概图部件,可在 API 文档中显示:
    
    <img src="/img/tutorial/body/image01.png">
    
    而且,还会用于 API 文档中使用了概图的*路径操作*:
    
    <img src="/img/tutorial/body/image02.png">
    
    ## 编辑器支持
    
    在编辑器中,函数内部均可使用类型提示、代码补全(如果接收的不是 Pydantic 模型,而是**字典**,就没有这样的支持):
    
    <img src="/img/tutorial/body/image03.png">
    
    还支持检查错误的类型操作:
    
    <img src="/img/tutorial/body/image04.png">
    
    这并非偶然,整个 **FastAPI** 框架都是围绕这种思路精心设计的。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/body.md

    ///
    
    ## Sem o Pydantic
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/body.md

    <img src="/img/tutorial/body/image01.png">
    
    &amp; 🔜 ⚙️ 🛠️ 🩺 🔘 🔠 *➡ 🛠️* 👈 💪 👫:
    
    <img src="/img/tutorial/body/image02.png">
    
    ## 👨‍🎨 🐕‍🦺
    
    👆 👨‍🎨, 🔘 👆 🔢 👆 🔜 🤚 🆎 🔑 &amp; 🛠️ 🌐 (👉 🚫🔜 🔨 🚥 👆 📨 `dict` ↩️ Pydantic 🏷):
    
    <img src="/img/tutorial/body/image03.png">
    
    👆 🤚 ❌ ✅ ❌ 🆎 🛠️:
    
    <img src="/img/tutorial/body/image04.png">
    
    👉 🚫 🤞, 🎂 🛠️ 🏗 🤭 👈 🔧.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body.md

    # Request Body
    
    When you need to send data from a client (let's say, a browser) to your API, you send it as a **request body**.
    
    A **request** body is data sent by the client to your API. A **response** body is the data your API sends to the client.
    
    Your API almost always has to send a **response** body. But clients don't necessarily need to send **request bodies** all the time, sometimes they only request a path, maybe with some query parameters, but don't send a body.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/body.md

    <img src="/img/tutorial/body/image01.png">
    
    이를 필요로 하는 각각의 *경로 작동*내부의 API 문서에도 사용됩니다:
    
    <img src="/img/tutorial/body/image02.png">
    
    ## 편집기 지원
    
    편집기에서, 함수 내에서 타입 힌트와 완성을 어디서나 (만약 Pydantic model 대신에 `dict`을 받을 경우 나타나지 않을 수 있습니다) 받을 수 있습니다:
    
    <img src="/img/tutorial/body/image03.png">
    
    잘못된 타입 연산에 대한 에러 확인도 받을 수 있습니다:
    
    <img src="/img/tutorial/body/image04.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/body.md

    Commencez par importer la classe `BaseModel` du module `pydantic` :
    
    {* ../../docs_src/body/tutorial001.py hl[4] *}
    
    ## Créez votre modèle de données
    
    Déclarez ensuite votre modèle de données en tant que classe qui hérite de `BaseModel`.
    
    Utilisez les types Python standard pour tous les attributs :
    
    {* ../../docs_src/body/tutorial001.py hl[7:11] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:34:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/body.md

    <img src="/img/tutorial/body/image01.png">
    
    そして、それらが使われる *パスオペレーション* のそれぞれのAPIドキュメントにも表示されます:
    
    <img src="/img/tutorial/body/image02.png">
    
    ## エディターサポート
    
    エディターによる型ヒントと補完が関数内で利用できます (Pydanticモデルではなく `dict` を受け取ると、同じサポートは受けられません):
    
    <img src="/img/tutorial/body/image03.png">
    
    型によるエラーチェックも可能です:
    
    <img src="/img/tutorial/body/image04.png">
    
    これは偶然ではなく、このデザインに基づいてフレームワークが作られています。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/body-fields.md

    ///
    
    ## 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!}
    ```
    
    `Field` funciona da mesma forma que `Query`, `Path` e `Body`, ele possui todos os mesmos parâmetros, etc.
    
    /// note | "Detalhes técnicos"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/body-fields.md

    ```
    
    ////
    
    `Field` працює так само, як `Query`, `Path` і `Body`, у нього такі самі параметри тощо.
    
    /// note | "Технічні деталі"
    
    Насправді, `Query`, `Path` та інші, що ви побачите далі, створюють об'єкти підкласів загального класу `Param`, котрий сам є підкласом класу `FieldInfo` з Pydantic.
    
    І `Field` від Pydantic також повертає екземпляр `FieldInfo`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top