- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for 22 (0.12 sec)
-
docs/de/docs/tutorial/dependencies/sub-dependencies.md
``` === "Python 3.8 nicht annotiert" !!! tip "Tipp" Bevorzugen Sie die `Annotated`-Version, falls möglich. ```Python hl_lines="22" {!> ../../../docs_src/dependencies/tutorial005.py!} ``` !!! info Beachten Sie, dass wir in der *Pfadoperation-Funktion* nur eine einzige Abhängigkeit deklarieren, den `query_or_cookie_extractor`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:09:48 GMT 2024 - 6.3K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
{!> ../../../docs_src/dependencies/tutorial005_py310.py!} ``` === "Python 3.8 non-Annotated" !!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="22" {!> ../../../docs_src/dependencies/tutorial005.py!} ``` !!! info Notice that we are only declaring one dependency in the *path operation function*, the `query_or_cookie_extractor`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/sub-dependencies.md
* 该函数依赖 `query_extractor`, 并把 `query_extractor` 的返回值赋给参数 `q` * 同时,该函数还声明了类型是 `str` 的可选 cookie(`last_query`) * 用户未提供查询参数 `q` 时,则使用上次使用后保存在 cookie 中的查询 ### 使用依赖项 接下来,就可以使用依赖项: ```Python hl_lines="22" {!../../../docs_src/dependencies/tutorial005.py!} ``` !!! info "信息" 注意,这里在*路径操作函数*中只声明了一个依赖项,即 `query_or_cookie_extractor` 。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 3.2K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/sub-dependencies.md
* ⚫️ 📣 📦 `last_query` 🍪, `str`. * 🚥 👩💻 🚫 🚚 🙆 🔢 `q`, 👥 ⚙️ 🏁 🔢 ⚙️, ❔ 👥 🖊 🍪 ⏭. ## ⚙️ 🔗 ⤴️ 👥 💪 ⚙️ 🔗 ⏮️: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="22" {!> ../../../docs_src/dependencies/tutorial005.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="19" {!> ../../../docs_src/dependencies/tutorial005_py310.py!} ``` !!! info
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 3.3K bytes - Viewed (0)