Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 4,448 for commons (0.05 seconds)

  1. docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Annotation de type vs `Depends` { #type-annotation-vs-depends }
    
    Remarquez que nous écrivons `CommonQueryParams` deux fois dans le code ci‑dessus :
    
    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Аннотация типа и `Depends` { #type-annotation-vs-depends }
    
    Обратите внимание, что в приведенном выше коде мы два раза пишем `CommonQueryParams`:
    
    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    **FastAPI** llama a la clase `CommonQueryParams`. Esto crea una "instance" de esa clase y la instance será pasada como el parámetro `commons` a tu función.
    
    ## Anotación de tipos vs `Depends` { #type-annotation-vs-depends }
    
    Nota cómo escribimos `CommonQueryParams` dos veces en el código anterior:
    
    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  4. docs/tr/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Type Annotation vs `Depends` { #type-annotation-vs-depends }
    
    Yukarıdaki kodda `CommonQueryParams`'ı iki kez yazdığımıza dikkat edin:
    
    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Anotações de Tipo vs `Depends` { #type-annotation-vs-depends }
    
    Perceba como escrevemos `CommonQueryParams` duas vezes no código abaixo:
    
    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. fastapi/param_functions.py

            return {"q": q, "skip": skip, "limit": limit}
    
    
        @app.get("/items/")
        async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
            return commons
        ```
        """
        return params.Depends(dependency=dependency, use_cache=use_cache, scope=scope)
    
    
    def Security(  # noqa: N802
        dependency: Annotated[
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  7. docs_src/dependency_testing/tutorial001_py310.py

        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: str | None = None):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

    import java.util.function.Consumer;
    import java.util.function.UnaryOperator;
    
    import org.apache.commons.cli.CommandLine;
    import org.apache.commons.cli.DefaultParser;
    import org.apache.commons.cli.DeprecatedAttributes;
    import org.apache.commons.cli.HelpFormatter;
    import org.apache.commons.cli.Option;
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.ParserRequest;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Typannotation vs. `Depends` { #type-annotation-vs-depends }
    
    Beachten Sie, wie wir `CommonQueryParams` im obigen Code zweimal schreiben:
    
    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        }
    
        /**
         * Checks if parts of the passed in comment can be used as header comment.
         * This method checks whether a header comment can be defined (i.e. whether
         * this is the first comment in the loaded file). If this is the case, it is
         * searched for the lates blank line. This line will mark the end of the
         * header comment. The return value is the index of the first line in the
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
Back to Top