- Sort Score
- Result 10 results
- Languages All
Results 31 - 36 of 36 for log (0.26 sec)
-
docs/zh/docs/tutorial/background-tasks.md
=== "Python 3.8+ 没Annotated" !!! tip 尽可能选择使用 `Annotated` 的版本。 ```Python hl_lines="13 15 22 25" {!> ../../../docs_src/background_tasks/tutorial002.py!} ``` 该示例中,信息会在响应发出 *之后* 被写到 `log.txt` 文件。 如果请求中有查询,它将在后台任务中写入日志。 然后另一个在 *路径操作函数* 生成的后台任务会使用路径参数 `email` 写入一条信息。 ## 技术细节
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5K bytes - Viewed (0) -
docs/zh/docs/deployment/deta.md
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sun Jan 28 18:06:55 GMT 2024 - 5.1K bytes - Viewed (0) -
docs/ko/docs/tutorial/background-tasks.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Feb 11 13:48:31 GMT 2024 - 5.7K bytes - Viewed (0) -
docs/em/docs/tutorial/background-tasks.md
``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="11 13 20 23" {!> ../../../docs_src/background_tasks/tutorial002_py310.py!} ``` 👉 🖼, 📧 🔜 ✍ `log.txt` 📁 *⏮️* 📨 📨. 🚥 📤 🔢 📨, ⚫️ 🔜 ✍ 🕹 🖥 📋. & ⤴️ ➕1️⃣ 🖥 📋 🏗 *➡ 🛠️ 🔢* 🔜 ✍ 📧 ⚙️ `email` ➡ 🔢. ## 📡 ℹ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 4.1K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
```Python hl_lines="6" {!../../../docs_src/events/tutorial002.py!} ``` Here, the `shutdown` event handler function will write a text line `"Application shutdown"` to a file `log.txt`. !!! info In the `open()` function, the `mode="a"` means "append", so, the line will be added after whatever is on that file, without overwriting the previous contents. !!! tip
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/em/docs/advanced/events.md
🚮 🔢 👈 🔜 🏃 🕐❔ 🈸 🤫 🔽, 📣 ⚫️ ⏮️ 🎉 `"shutdown"`: ```Python hl_lines="6" {!../../../docs_src/events/tutorial002.py!} ``` 📥, `shutdown` 🎉 🐕🦺 🔢 🔜 ✍ ✍ ⏸ `"Application shutdown"` 📁 `log.txt`. !!! info `open()` 🔢, `mode="a"` ⛓ "🎻",, ⏸ 🔜 🚮 ⏮️ ⚫️❔ 🔛 👈 📁, 🍵 📁 ⏮️ 🎚. !!! tip 👀 👈 👉 💼 👥 ⚙️ 🐩 🐍 `open()` 🔢 👈 🔗 ⏮️ 📁. , ⚫️ 🔌 👤/🅾 (🔢/🔢), 👈 🚚 "⌛" 👜 ✍ 💾.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.2K bytes - Viewed (0)