Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 15020 (0.12 sec)

  1. docs/zh/docs/tutorial/dependencies/index.md

    ### 导入 `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)
  2. docs/en/docs/js/termynal.js

                || parseFloat(this.container.getAttribute(`${this.pfx}-typeDelay`)) || 90;
            this.originalLineDelay = this.lineDelay = options.lineDelay
                || parseFloat(this.container.getAttribute(`${this.pfx}-lineDelay`)) || 1500;
            this.progressLength = options.progressLength
                || parseFloat(this.container.getAttribute(`${this.pfx}-progressLength`)) || 40;
            this.progressChar = options.progressChar
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/dependencies/index.md

        ```
    
    ### 📣 🔗, "⚓️"
    
    🎏 🌌 👆 ⚙️ `Body`, `Query`, ♒️. ⏮️ 👆 *➡ 🛠️ 🔢* 🔢, ⚙️ `Depends` ⏮️ 🆕 🔢:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="15  20"
        {!> ../../../docs_src/dependencies/tutorial001.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="11  16"
        {!> ../../../docs_src/dependencies/tutorial001_py310.py!}
        ```
    
    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)
Back to top