- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for src (0.11 sec)
-
docs/ja/docs/tutorial/dependencies/index.md
そして、これらの値を含む`dict`を返します。 ### `Depends`のインポート ```Python hl_lines="3" {!../../../docs_src/dependencies/tutorial001.py!} ``` ### "dependant"での依存関係の宣言 *path operation関数*のパラメータに`Body`や`Query`などを使用するのと同じように、新しいパラメータに`Depends`を使用することができます: ```Python hl_lines="13 18" {!../../../docs_src/dependencies/tutorial001.py!} ``` 関数のパラメータに`Depends`を使用するのは`Body`や`Query`などと同じですが、`Depends`の動作は少し異なります。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 15 16:08:16 GMT 2024 - 9.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/index.md
* 类型为 `int` 的可选查询参数 `limit`,默认值是 `100` 然后,依赖项函数返回包含这些值的 `dict`。 ### 导入 `Depends` ```Python hl_lines="3" {!../../../docs_src/dependencies/tutorial001.py!} ``` ### 声明依赖项 与在*路径操作函数*参数中使用 `Body`、`Query` 的方式相同,声明依赖项需要使用 `Depends` 和一个新的参数: ```Python hl_lines="15 20" {!../../../docs_src/dependencies/tutorial001.py!} ``` 虽然,在路径操作函数的参数中使用 `Depends` 的方式与 `Body`、`Query` 相同,但 `Depends` 的工作方式略有不同。 这里只能传给 Depends 一个参数。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 7K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/index.md
➡️ 🥇 🎯 🔛 🔗. ⚫️ 🔢 👈 💪 ✊ 🌐 🎏 🔢 👈 *➡ 🛠️ 🔢* 💪 ✊: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="8-11" {!> ../../../docs_src/dependencies/tutorial001.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="6-7" {!> ../../../docs_src/dependencies/tutorial001_py310.py!} ``` 👈 ⚫️. **2️⃣ ⏸**. & ⚫️ ✔️ 🎏 💠 & 📊 👈 🌐 👆 *➡ 🛠️ 🔢* ✔️.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 6.7K bytes - Viewed (0)