- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 295 for tutorial002_py310 (0.11 sec)
-
tests/test_tutorial/test_cookie_param_models/test_tutorial002.py
from tests.utils import needs_py39, needs_py310, needs_pydanticv1, needs_pydanticv2 @pytest.fixture( name="client", params=[ pytest.param("tutorial002", marks=needs_pydanticv2), pytest.param("tutorial002_py310", marks=[needs_py310, needs_pydanticv2]), pytest.param("tutorial002_an", marks=needs_pydanticv2), pytest.param("tutorial002_an_py39", marks=[needs_py39, needs_pydanticv2]),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 8.6K bytes - Viewed (0) -
tests/test_tutorial/test_header_param_models/test_tutorial002.py
from tests.utils import needs_py39, needs_py310, needs_pydanticv1, needs_pydanticv2 @pytest.fixture( name="client", params=[ pytest.param("tutorial002", marks=needs_pydanticv2), pytest.param("tutorial002_py310", marks=[needs_py310, needs_pydanticv2]), pytest.param("tutorial002_an", marks=needs_pydanticv2), pytest.param("tutorial002_an_py39", marks=[needs_py39, needs_pydanticv2]),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/uk/docs/tutorial/body.md
//// tab | Python 3.8 і вище ```Python hl_lines="21" {!> ../../docs_src/body/tutorial002.py!} ``` //// //// tab | Python 3.10 і вище ```Python hl_lines="19" {!> ../../docs_src/body/tutorial002_py310.py!} ``` //// ## Тіло запиту + параметри шляху Ви можете одночасно оголошувати параметри шляху та тіло запиту.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.1K bytes - Viewed (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
Let's say you have a Pydantic model with default values, like this one: {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:7] hl[7] *} ### Model for Input If you use this model as an input like here: {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *} ...then the `description` field will **not be required**. Because it has a default value of `None`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:43:54 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/de/docs/tutorial/body.md
/// ## Das Modell verwenden Innerhalb der Funktion können Sie alle Attribute des Modells direkt verwenden: //// tab | Python 3.10+ ```Python hl_lines="19" {!> ../../docs_src/body/tutorial002_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="21" {!> ../../docs_src/body/tutorial002.py!} ``` //// ## Requestbody- + Pfad-Parameter
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0) -
docs/zh/docs/tutorial/body.md
```Python hl_lines="2" {!> ../../docs_src/body/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="4" {!> ../../docs_src/body/tutorial001.py!} ``` //// ## 创建数据模型 把数据模型声明为继承 `BaseModel` 的类。 使用 Python 标准类型声明所有属性: //// tab | Python 3.10+ ```Python hl_lines="5-9" {!> ../../docs_src/body/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/em/docs/tutorial/body.md
```Python hl_lines="21" {!> ../../docs_src/body/tutorial002.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="19" {!> ../../docs_src/body/tutorial002_py310.py!} ``` //// ## 📨 💪 ➕ ➡ 🔢 👆 💪 📣 ➡ 🔢 & 📨 💪 🎏 🕰. **FastAPI** 🔜 🤔 👈 🔢 🔢 👈 🏏 ➡ 🔢 🔜 **✊ ⚪️➡️ ➡**, & 👈 🔢 🔢 👈 📣 Pydantic 🏷 🔜 **✊ ⚪️➡️ 📨 💪**.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-nested-models.md
对具有子类型的模型属性也使用相同的标准语法。 因此,在我们的示例中,我们可以将 `tags` 明确地指定为一个「字符串列表」: //// tab | Python 3.10+ ```Python hl_lines="12" {!> ../../docs_src/body_nested_models/tutorial002_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="14" {!> ../../docs_src/body_nested_models/tutorial002_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="14" {!> ../../docs_src/body_nested_models/tutorial002.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/background-tasks.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_py310.py
from fastapi.testclient import TestClient from fastapi.websockets import WebSocketDisconnect from ...utils import needs_py310 @pytest.fixture(name="app") def get_app(): from docs_src.websockets.tutorial002_py310 import app return app @needs_py310 def test_main(app: FastAPI): client = TestClient(app) response = client.get("/") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0)