Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 13 (0.14 sec)

  1. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    === "Python 3.10+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
    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)
  2. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    === "Python 3.10+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
    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)
  3. docs/zh/docs/tutorial/dependencies/sub-dependencies.md

    ```
    
    这段代码声明了类型为 `str` 的可选查询参数 `q`,然后返回这个查询参数。
    
    这个函数很简单(不过也没什么用),但却有助于让我们专注于了解子依赖项的工作方式。
    
    ### 第二层依赖项
    
    接下来,创建另一个依赖项函数,并同时用该依赖项自身再声明一个依赖项(所以这也是一个「依赖项」):
    
    ```Python hl_lines="13"
    {!../../../docs_src/dependencies/tutorial005.py!}
    ```
    
    这里重点说明一下声明的参数:
    
    * 尽管该函数自身是依赖项,但还声明了另一个依赖项(它「依赖」于其他对象)
        * 该函数依赖 `query_extractor`, 并把 `query_extractor` 的返回值赋给参数 `q`
    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)
  4. docs/em/docs/tutorial/dependencies/sub-dependencies.md

    👉 🙅 (🚫 📶 ⚠), ✋️ 🔜 ℹ 👥 🎯 🔛 ❔ 🎧-🔗 👷.
    
    ## 🥈 🔗, "☑" & "⚓️"
    
    ⤴️ 👆 💪 ✍ ➕1️⃣ 🔗 🔢 ("☑") 👈 🎏 🕰 📣 🔗 🚮 👍 (⚫️ "⚓️" 💁‍♂️):
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="11"
        {!> ../../../docs_src/dependencies/tutorial005_py310.py!}
        ```
    
    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)
  5. docs/ja/docs/tutorial/dependencies/sub-dependencies.md

    これはオプショナルのクエリパラメータ`q`を`str`として宣言し、それを返すだけです。
    
    これは非常にシンプルです(あまり便利ではありません)が、サブ依存関係がどのように機能するかに焦点を当てるのに役立ちます。
    
    ### 第二の依存関係 「依存可能なもの」と「依存」
    
    そして、別の依存関数(「依存可能なもの」)を作成して、同時にそれ自身の依存関係を宣言することができます(つまりそれ自身も「依存」です):
    
    ```Python hl_lines="13"
    {!../../../docs_src/dependencies/tutorial005.py!}
    ```
    
    宣言されたパラメータに注目してみましょう:
    
    * この関数は依存関係(「依存可能なもの」)そのものであるにもかかわらず、別の依存関係を宣言しています(何か他のものに「依存」しています)。
        * これは`query_extractor`に依存しており、それが返す値をパラメータ`q`に代入します。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:43:41 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top