Browse Source

📝 Update includes in `docs/em/docs/tutorial/body-updates.md` (#12799)

pull/12808/head
Alex Wendland 5 months ago
committed by GitHub
parent
commit
34ed88394c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 96
      docs/em/docs/tutorial/body-updates.md

96
docs/em/docs/tutorial/body-updates.md

@ -6,29 +6,7 @@
👆 💪 ⚙️ `jsonable_encoder` 🗜 🔢 💽 📊 👈 💪 🏪 🎻 (✅ ⏮️ ☁ 💽). 🖼, 🏭 `datetime` `str`.
//// tab | 🐍 3️⃣.6️⃣ & 🔛
```Python hl_lines="30-35"
{!> ../../docs_src/body_updates/tutorial001.py!}
```
////
//// tab | 🐍 3️⃣.9️⃣ & 🔛
```Python hl_lines="30-35"
{!> ../../docs_src/body_updates/tutorial001_py39.py!}
```
////
//// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
```Python hl_lines="28-33"
{!> ../../docs_src/body_updates/tutorial001_py310.py!}
```
////
{* ../../docs_src/body_updates/tutorial001.py hl[30:35] *}
`PUT` ⚙️ 📨 💽 👈 🔜 ❎ ♻ 💽.
@ -76,29 +54,7 @@
⤴️ 👆 💪 ⚙️ 👉 🏗 `dict` ⏮️ 🕴 💽 👈 ⚒ (📨 📨), 🚫 🔢 💲:
//// tab | 🐍 3️⃣.6️⃣ & 🔛
```Python hl_lines="34"
{!> ../../docs_src/body_updates/tutorial002.py!}
```
////
//// tab | 🐍 3️⃣.9️⃣ & 🔛
```Python hl_lines="34"
{!> ../../docs_src/body_updates/tutorial002_py39.py!}
```
////
//// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
```Python hl_lines="32"
{!> ../../docs_src/body_updates/tutorial002_py310.py!}
```
////
{* ../../docs_src/body_updates/tutorial002.py hl[34] *}
### ⚙️ Pydantic `update` 🔢
@ -106,29 +62,7 @@
💖 `stored_item_model.copy(update=update_data)`:
//// tab | 🐍 3️⃣.6️⃣ & 🔛
```Python hl_lines="35"
{!> ../../docs_src/body_updates/tutorial002.py!}
```
////
//// tab | 🐍 3️⃣.9️⃣ & 🔛
```Python hl_lines="35"
{!> ../../docs_src/body_updates/tutorial002_py39.py!}
```
////
//// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
```Python hl_lines="33"
{!> ../../docs_src/body_updates/tutorial002_py310.py!}
```
////
{* ../../docs_src/body_updates/tutorial002.py hl[35] *}
### 🍕 ℹ 🌃
@ -145,29 +79,7 @@
* 🖊 💽 👆 💽.
* 📨 ℹ 🏷.
//// tab | 🐍 3️⃣.6️⃣ & 🔛
```Python hl_lines="30-37"
{!> ../../docs_src/body_updates/tutorial002.py!}
```
////
//// tab | 🐍 3️⃣.9️⃣ & 🔛
```Python hl_lines="30-37"
{!> ../../docs_src/body_updates/tutorial002_py39.py!}
```
////
//// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
```Python hl_lines="28-35"
{!> ../../docs_src/body_updates/tutorial002_py310.py!}
```
////
{* ../../docs_src/body_updates/tutorial002.py hl[30:37] *}
/// tip

Loading…
Cancel
Save