- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for body_fields (0.18 sec)
-
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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.2K bytes - Viewed (0) -
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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.9K bytes - Viewed (0) -
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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.2K bytes - Viewed (0) -
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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.3K bytes - Viewed (0) -
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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/en/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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.5K bytes - Viewed (0) -
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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py
import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture(name="client") def get_client(): from docs_src.body_fields.tutorial001_an_py310 import app client = TestClient(app) return client @needs_py310 def test_items_5(client: TestClient): response = client.put("/items/5", json={"item": {"name": "Foo", "price": 3.0}})
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.3K bytes - Viewed (0)