Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for dependabot (0.22 sec)

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

    This is quite simple (not very useful), but will help us focus on how the sub-dependencies work.
    
    ## Second dependency, "dependable" and "dependant"
    
    Then you can create another dependency function (a "dependable") that at the same time declares a dependency of its own (so it is a "dependant" too):
    
    === "Python 3.10+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005_an_py310.py!}
        ```
    
    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)
  2. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    ## Zweite Abhängigkeit, „Dependable“ und „Dependant“
    
    Dann können Sie eine weitere Abhängigkeitsfunktion (ein „Dependable“) erstellen, die gleichzeitig eine eigene Abhängigkeit deklariert (also auch ein „Dependant“ ist):
    
    === "Python 3.10+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005_an_py310.py!}
    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)
  3. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    # 依存関係としてのクラス
    
    **依存性注入** システムを深く掘り下げる前に、先ほどの例をアップグレードしてみましょう。
    
    ## 前の例の`dict`
    
    前の例では、依存関係("dependable")から`dict`を返していました:
    
    ```Python hl_lines="9"
    {!../../../docs_src/dependencies/tutorial001.py!}
    ```
    
    しかし、*path operation関数*のパラメータ`commons`に`dict`が含まれています。
    
    また、エディタは`dict`のキーと値の型を知ることができないため、多くのサポート(補完のような)を提供することができません。
    
    もっとうまくやれるはずです...。
    
    ## 依存関係を作るもの
    
    これまでは、依存関係が関数として宣言されているのを見てきました。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. docs/en/docs/reference/security/index.md

    # Security Tools
    
    When you need to declare dependencies with OAuth2 scopes you use `Security()`.
    
    But you still need to define what is the dependable, the callable that you pass as a parameter to `Depends()` or `Security()`.
    
    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/dependencies/index.md

    このパラメータは関数のようなものである必要があります。
    
    そして、その関数は、*path operation関数*が行うのと同じ方法でパラメータを取ります。
    
    !!! tip "豆知識"
        次の章では、関数以外の「もの」が依存関係として使用できるものを見ていきます。
    
    新しいリクエストが到着するたびに、**FastAPI** が以下のような処理を行います:
    
    * 依存関係("dependable")関数を正しいパラメータで呼び出します。
    * 関数の結果を取得します。
    * *path operation関数*のパラメータにその結果を代入してください。
    
    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/background-tasks.md

    ## Dependency Injection
    
    Using `BackgroundTasks` also works with the dependency injection system, you can declare a parameter of type `BackgroundTasks` at multiple levels: in a *path operation function*, in a dependency (dependable), in a sub-dependency, etc.
    
    **FastAPI** knows what to do in each case and how to re-use the same object, so that all the background tasks are merged together and are run in the background afterwards:
    
    === "Python 3.10+"
    
    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)
  7. docs/de/docs/tutorial/background-tasks.md

    **FastAPI** weiß, was jeweils zu tun ist und wie dasselbe Objekt wiederverwendet werden kann, sodass alle Hintergrundtasks zusammengeführt und anschließend im Hintergrund ausgeführt werden:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 12 14:15:29 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. docs/de/docs/reference/security/index.md

    # Sicherheitstools
    
    Wenn Sie Abhängigkeiten mit OAuth2-Scopes deklarieren müssen, verwenden Sie `Security()`.
    
    Aber Sie müssen immer noch definieren, was das <abbr title="Das von dem abhängt, die zu verwendende Abhängigkeit">Dependable</abbr>, das Callable ist, welches Sie als Parameter an `Depends()` oder `Security()` übergeben.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:15:05 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top