Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 188 for decorate (0.05 seconds)

  1. docs/tr/docs/tutorial/dependencies/dependencies-with-yield.md

    * [`@contextlib.asynccontextmanager`](https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager)
    
    Bunları, tek bir `yield` içeren bir fonksiyonu decorate etmek için kullanabilirsiniz.
    
    FastAPI, `yield` kullanan dependency'ler için içeride bunu yapar.
    
    Ancak FastAPI dependency'leri için bu decorator'ları kullanmak zorunda değilsiniz (hatta kullanmamalısınız).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  2. CHANGELOG/CHANGELOG-1.5.md

        allowing two Stateful Set pods to share the same persistent volume which could lead to data
        corruption [#37263](https://github.com/kubernetes/kubernetes/pull/37263)
    
    
    * Allow anonymous API server access, decorate authenticated users with system:authenticated group ([#32386](https://github.com/kubernetes/kubernetes/pull/32386), [@liggitt](https://github.com/liggitt))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 136.4K bytes
    - Click Count (0)
  3. fastapi/routing.py

            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_route(
                    path,
                    func,
                    methods=methods,
                    name=name,
                    include_in_schema=include_in_schema,
                )
                return func
    
            return decorator
    
        def add_api_route(
            self,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  4. fastapi/applications.py

            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_api_websocket_route(
                    path,
                    func,
                    name=name,
                    dependencies=dependencies,
                )
                return func
    
            return decorator
    
        def include_router(
            self,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/first-steps.md

    /// info | `@decorator` Info
    
    Cette syntaxe `@something` en Python est appelée un « décorateur ».
    
    Vous la mettez au-dessus d’une fonction. Comme un joli chapeau décoratif (j’imagine que c’est de là que vient le terme 🤷🏻‍♂).
    
    Un « décorateur » prend la fonction en dessous et fait quelque chose avec.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ForwardingObject.java

    import java.io.Serializable;
    
    /**
     * An abstract base class for implementing the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. The {@link
     * #delegate()} method must be overridden to return the instance being decorated.
     *
     * <p>This class does <i>not</i> forward the {@code hashCode} and {@code equals} methods through to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ForwardingObject.java

    import java.io.Serializable;
    
    /**
     * An abstract base class for implementing the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. The {@link
     * #delegate()} method must be overridden to return the instance being decorated.
     *
     * <p>This class does <i>not</i> forward the {@code hashCode} and {@code equals} methods through to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Dans ces cas, au lieu de déclarer un paramètre de *fonction de chemin d'accès* avec `Depends`, vous pouvez ajouter une `list` de `dependencies` au *décorateur de chemin d'accès*.
    
    ## Ajouter `dependencies` au *décorateur de chemin d'accès* { #add-dependencies-to-the-path-operation-decorator }
    
    Le *décorateur de chemin d'accès* accepte un argument optionnel `dependencies`.
    
    Il doit s'agir d'une `list` de `Depends()` :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

     * Takes a rendered release notes HTML file and decorates it with extra elements/content/links.
     */
    @CacheableTask
    public abstract class DecorateReleaseNotes extends DefaultTask {
        /**
         * The rendered HTML release notes that need decoration.
         */
        @InputFile
        @PathSensitive(PathSensitivity.NONE)
        public abstract RegularFileProperty getHtmlFile();
    
        /**
         * The decorated HTML file
         */
        @OutputFile
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:08:23 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  10. docs/fr/llm-prompt.md

    - the response body: le corps de la réponse
    
    - path operation: chemin d'accès
    - path operations (plural): chemins d'accès
    - path operation function: fonction de chemin d'accès
    - path operation decorator: décorateur de chemin d'accès
    
    - path parameter: paramètre de chemin
    - query parameter: paramètre de requête
    
    - the `Request`: `Request` (keep as code identifier)
    - the `Response`: `Response` (keep as code identifier)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 16 11:57:08 GMT 2026
    - 3.6K bytes
    - Click Count (0)
Back to Top