Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 383 for dependentes (0.06 sec)

  1. docs/ko/docs/advanced/advanced-dependencies.md

    이를 위해 `__call__` 메서드를 선언합니다:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    이 경우, **FastAPI**는 추가 매개변수와 하위 의존성을 확인하기 위해 `__call__`을 사용하게 되며,
    나중에 *경로 연산 함수*에서 매개변수에 값을 전달할 때 이를 호출하게 됩니다.
    
    ## 인스턴스 매개변수화하기
    
    이제 `__init__`을 사용하여 의존성을 "매개변수화"할 수 있는 인스턴스의 매개변수를 선언할 수 있습니다:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/advanced-dependencies.md

    🚫 🎓 ⚫️ (❔ ⏪ 🇧🇲), ✋️ 👐 👈 🎓.
    
    👈, 👥 📣 👩‍🔬 `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[10] *}
    
    👉 💼, 👉 `__call__` ⚫️❔ **FastAPI** 🔜 ⚙️ ✅ 🌖 🔢 & 🎧-🔗, & 👉 ⚫️❔ 🔜 🤙 🚶‍♀️ 💲 🔢 👆 *➡ 🛠️ 🔢* ⏪.
    
    ## 🔗 👐
    
    & 🔜, 👥 💪 ⚙️ `__init__` 📣 🔢 👐 👈 👥 💪 ⚙️ "🔗" 🔗:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[7] *}
    
    👉 💼, **FastAPI** 🏆 🚫 ⏱ 👆 ⚖️ 💅 🔃 `__init__`, 👥 🔜 ⚙️ ⚫️ 🔗 👆 📟.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    In the same way, you can use `finally` to make sure the exit steps are executed, no matter if there was an exception or not.
    
    {* ../../docs_src/dependencies/tutorial007.py hl[3,5] *}
    
    ## Sub-dependencies with `yield` { #sub-dependencies-with-yield }
    
    You can have sub-dependencies and "trees" of sub-dependencies of any size and shape, and any or all of them can use `yield`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/advanced-dependencies.md

    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    En este caso, **FastAPI** nunca tocará ni se preocupará por `__init__`, lo usaremos directamente en nuestro código.
    
    ## Crear una instance
    
    Podríamos crear una instance de esta clase con:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[18] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/dependencies/sub-dependencies.md

    ### 最初の依存関係「依存可能なもの」
    
    以下のような最初の依存関係(「依存可能なもの」)を作成することができます:
    
    {* ../../docs_src/dependencies/tutorial005.py hl[8,9] *}
    
    これはオプショナルのクエリパラメータ`q`を`str`として宣言し、それを返すだけです。
    
    これは非常にシンプルです(あまり便利ではありません)が、サブ依存関係がどのように機能するかに焦点を当てるのに役立ちます。
    
    ### 第二の依存関係 「依存可能なもの」と「依存」
    
    そして、別の依存関数(「依存可能なもの」)を作成して、同時にそれ自身の依存関係を宣言することができます(つまりそれ自身も「依存」です):
    
    {* ../../docs_src/dependencies/tutorial005.py hl[13] *}
    
    宣言されたパラメータに注目してみましょう:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    🖼, 👆 💪 ⚙️ 👉 ✍ 💽 🎉 & 🔐 ⚫️ ⏮️ 🏁.
    
    🕴 📟 ⏭ & 🔌 `yield` 📄 🛠️ ⏭ 📨 📨:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[2:4] *}
    
    🌾 💲 ⚫️❔ 💉 🔘 *➡ 🛠️* & 🎏 🔗:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[4] *}
    
    📟 📄 `yield` 📄 🛠️ ⏮️ 📨 ✔️ 🚚:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[5:6] *}
    
    /// tip
    
    👆 💪 ⚙️ `async` ⚖️ 😐 🔢.
    
    **FastAPI** 🔜 ▶️️ 👜 ⏮️ 🔠, 🎏 ⏮️ 😐 🔗.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/dependencies/sub-dependencies.md

    Их **вложенность** может быть любой глубины.
    
    **FastAPI** сам займётся их управлением.
    
    ## Провайдер зависимости
    
    Можно создать первую зависимость следующим образом:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Она объявляет необязательный параметр запроса `q` как строку, а затем возвращает его.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Обратите внимание на метод `__init__`, используемый для создания экземпляра класса:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...имеет те же параметры, что и ранее используемая функция `common_parameters`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Achten Sie auf die Methode `__init__`, die zum Erstellen der Instanz der Klasse verwendet wird:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ... sie hat die gleichen Parameter wie unsere vorherige `common_parameters`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes as Dependencies { #classes-as-dependencies }
    
    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example { #a-dict-from-the-previous-example }
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top