Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 336 for DEPENDENCIES (0.04 sec)

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

    **FastAPI** kümmert sich darum, sie aufzulösen.
    
    ## Erste Abhängigkeit, „Dependable“
    
    Sie könnten eine erste Abhängigkeit („Dependable“) wie folgt erstellen:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Diese deklariert einen optionalen Abfrageparameter `q` vom Typ `str` und gibt ihn dann einfach zurück.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/dependencies/global-dependencies.md

    Similar a como puedes [agregar `dependencies` a los *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, puedes agregarlos a la aplicación de `FastAPI`.
    
    En ese caso, se aplicarán a todas las *path operations* en la aplicación:
    
    {* ../../docs_src/dependencies/tutorial012_an_py39.py hl[16] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. 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)
  4. docs/pt/docs/advanced/advanced-dependencies.md

    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    Neste caso, o **FastAPI** nunca tocará ou se importará com o `__init__`, nós vamos utilizar diretamente em nosso código.
    
    ## Crie uma instância
    
    Nós poderíamos criar uma instância desta classe com:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[18] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. 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)
  6. docs/en/docs/advanced/advanced-dependencies.md

    # Advanced Dependencies { #advanced-dependencies }
    
    ## Parameterized dependencies { #parameterized-dependencies }
    
    All the dependencies we have seen are a fixed function or class.
    
    But there could be cases where you want to be able to set parameters on the dependency, without having to declare many different functions or classes.
    
    Let's imagine that we want to have a dependency that checks if the query parameter `q` contains some fixed content.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/dependencies/global-dependencies.md

    # 전역 의존성
    
    몇몇 애플리케이션에서는 애플리케이션 전체에 의존성을 추가하고 싶을 수 있습니다.
    
    [*경로 작동 데코레이터*에 `dependencies` 추가하기](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}와 유사한 방법으로 `FastAPI` 애플리케이션에 그것들을 추가할 수 있습니다.
    
    그런 경우에, 애플리케이션의 모든 *경로 작동*에 적용될 것입니다:
    
    {* ../../docs_src/dependencies/tutorial012_an_py39.py hl[16] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    Pueden ser tan **profundas** como necesites.
    
    **FastAPI** se encargará de resolverlas.
    
    ## Primera dependencia "dependable"
    
    Podrías crear una primera dependencia ("dependable") así:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Declara un parámetro de query opcional `q` como un `str`, y luego simplemente lo devuelve.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/testing-dependencies.md

    # Testing Dependencies with Overrides { #testing-dependencies-with-overrides }
    
    ## Overriding dependencies during testing { #overriding-dependencies-during-testing }
    
    There are some scenarios where you might want to override a dependency during testing.
    
    You don't want the original dependency to run (nor any of the sub-dependencies it might have).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. 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)
Back to top