- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 302 for tutorial001_py310 (0.16 sec)
-
docs/em/docs/tutorial/body-multiple-params.md
```Python hl_lines="19-21" {!> ../../docs_src/body_multiple_params/tutorial001.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="17-19" {!> ../../docs_src/body_multiple_params/tutorial001_py310.py!} ``` //// /// note 👀 👈, 👉 💼, `item` 👈 🔜 ✊ ⚪️➡️ 💪 📦. ⚫️ ✔️ `None` 🔢 💲. /// ## 💗 💪 🔢 ⏮️ 🖼, *➡ 🛠️* 🔜 ⌛ 🎻 💪 ⏮️ 🔢 `Item`, 💖: ```JSON {
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5K 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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/de/docs/tutorial/body.md
/// ## Importieren Sie Pydantics `BaseModel` Zuerst müssen Sie `BaseModel` von `pydantic` importieren: //// tab | Python 3.10+ ```Python hl_lines="2" {!> ../../docs_src/body/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="4" {!> ../../docs_src/body/tutorial001.py!} ``` //// ## Erstellen Sie Ihr Datenmodell
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0) -
docs/uk/docs/tutorial/body.md
//// tab | Python 3.8 і вище ```Python hl_lines="4" {!> ../../docs_src/body/tutorial001.py!} ``` //// //// tab | Python 3.10 і вище ```Python hl_lines="2" {!> ../../docs_src/body/tutorial001_py310.py!} ``` //// ## Створіть свою модель даних Потім ви оголошуєте свою модель даних як клас, який успадковується від `BaseModel`. Використовуйте стандартні типи Python для всіх атрибутів:
Registered: Sun Oct 27 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 Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:43:54 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/em/docs/tutorial/cookie-params.md
```Python hl_lines="3" {!> ../../docs_src/cookie_params/tutorial001.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="1" {!> ../../docs_src/cookie_params/tutorial001_py310.py!} ``` //// ## 📣 `Cookie` 🔢 ⤴️ 📣 🍪 🔢 ⚙️ 🎏 📊 ⏮️ `Path` & `Query`. 🥇 💲 🔢 💲, 👆 💪 🚶♀️ 🌐 ➕ 🔬 ⚖️ ✍ 🔢: //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="9"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/de/docs/tutorial/extra-data-types.md
``` //// //// tab | Python 3.10+ nicht annotiert /// tip Bevorzugen Sie die `Annotated`-Version, falls möglich. /// ```Python hl_lines="1 2 11-15" {!> ../../docs_src/extra_data_types/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ nicht annotiert /// tip Bevorzugen Sie die `Annotated`-Version, falls möglich. /// ```Python hl_lines="1 2 12-16"
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/dependencies/classes-as-dependencies.md
```Python hl_lines="9-13" {!> ../../docs_src/dependencies/tutorial002_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="11-15" {!> ../../docs_src/dependencies/tutorial002.py!} ``` //// 注意用于创建类实例的 `__init__` 方法: //// tab | Python 3.10+ ```Python hl_lines="10" {!> ../../docs_src/dependencies/tutorial002_py310.py!} ``` //// //// tab | Python 3.6+
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-param-models.md
/// ```Python hl_lines="9-13 17" {!> ../../docs_src/query_param_models/tutorial001_py310.py!} ``` //// //// tab | Python 3.9+ non-Annotated /// tip | Dica Prefira utilizar a versão `Annotated` se possível. /// ```Python hl_lines="8-12 16" {!> ../../docs_src/query_param_models/tutorial001_py39.py!} ``` //// //// tab | Python 3.8+ non-Annotated /// tip | Dica
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Oct 15 09:53:14 UTC 2024 - 4.1K bytes - Viewed (0) -
tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py
from docs_src.cookie_params.tutorial001_py310 import app client = TestClient(app, cookies=cookies) response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_response @needs_py310 def test_openapi_schema(): from docs_src.cookie_params.tutorial001_py310 import app client = TestClient(app)
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.1K bytes - Viewed (0)