Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for dependabot (0.2 sec)

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

    Aber so können wir uns besser auf die Funktionsweise des **Dependency Injection** Systems konzentrieren.
    
    ### Erstellen Sie eine Abhängigkeit (<abbr title="Das von dem abhängt, die zu verwendende Abhängigkeit">„Dependable“</abbr>)
    
    Konzentrieren wir uns zunächst auf die Abhängigkeit - die Dependency.
    
    Es handelt sich einfach um eine Funktion, die die gleichen Parameter entgegennimmt wie eine *Pfadoperation-Funktion*:
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:01:10 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStub.java

            result.getTasks().add(new GoalTask("t2"));
            return result;
        }
    
        class Dependency {
            MavenProject dependant;
    
            MavenProject dependency;
    
            Dependency(MavenProject dependant, MavenProject dependency) {
                this.dependant = dependant;
                this.dependency = dependency;
            }
    
            void addIfDownstream(MavenProject mavenProject, List<MavenProject> result) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/index.md

    ## First Steps
    
    Let's see a very simple example. It will be so simple that it is not very useful, for now.
    
    But this way we can focus on how the **Dependency Injection** system works.
    
    ### Create a dependency, or "dependable"
    
    Let's first focus on the dependency.
    
    It is just a function that can take all the same parameters that a *path operation function* can take:
    
    === "Python 3.10+"
    
        ```Python hl_lines="8-9"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. fastapi/openapi/utils.py

                )
                parameters: List[Dict[str, Any]] = []
                flat_dependant = get_flat_dependant(route.dependant, skip_repeats=True)
                security_definitions, operation_security = get_openapi_security_definitions(
                    flat_dependant=flat_dependant
                )
                if operation_security:
                    operation.setdefault("security", []).extend(operation_security)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  5. fastapi/routing.py

            self.dependant = get_dependant(path=self.path_format, call=self.endpoint)
            for depends in self.dependencies[::-1]:
                self.dependant.dependencies.insert(
                    0,
                    get_parameterless_sub_dependant(depends=depends, path=self.path_format),
                )
            self.body_field = get_body_field(dependant=self.dependant, name=self.unique_id)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  6. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:15:05 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/PluginLoaderException.java

    import org.apache.maven.plugin.version.PluginVersionResolutionException;
    
    /**
     * Signifies a failure to load a plugin. This is used to abstract the specific errors which may be
     * encountered at lower levels, and provide a dependable interface to the plugin-loading framework.
     *
     *
     */
    public class PluginLoaderException extends Exception {
    
        private String pluginKey;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    === "Python 3.10+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="11"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top