Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 201 for decorator (0.1 sec)

  1. docs/en/docs/advanced/testing-dependencies.md

    ```
    
    ////
    
    /// tip
    
    You can set a dependency override for a dependency used anywhere in your **FastAPI** application.
    
    The original dependency could be used in a *path operation function*, a *path operation decorator* (when you don't use the return value), a `.include_router()` call, etc.
    
    FastAPI will still be able to override it.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingListIterator.java

     * override one or more methods to modify the behavior of the backing iterator as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class forwards calls to <i>only some</i> {@code
     * default} methods. Specifically, it forwards calls only for methods that existed <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingConcurrentMap.java

     * override one or more methods to modify the behavior of the backing map as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class forwards calls to <i>only some</i> {@code
     * default} methods. Specifically, it forwards calls only for methods that existed <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java

     * Subclasses should override one or more methods to modify the behavior of the backing collection
     * as desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator
     * pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # path operationデコレータの依存関係
    
    場合によっては*path operation関数*の中で依存関係の戻り値を本当に必要としないこともあります。
    
    もしくは、依存関係が値を返さない場合もあります。
    
    しかし、それでも実行・解決する必要があります。
    
    このような場合、*path operation関数*のパラメータを`Depends`で宣言する代わりに、*path operation decorator*に`dependencies`の`list`を追加することができます。
    
    ##  *path operationデコレータ*への`dependencies`の追加
    
    *path operationデコレータ*はオプショナルの引数`dependencies`を受け取ります。
    
    それは`Depends()`の`list`であるべきです:
    
    ```Python hl_lines="17"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/middleware.md

    If there were any background tasks (documented later), they will run *after* all the middleware.
    
    ///
    
    ## Create a middleware
    
    To create a middleware you use the decorator `@app.middleware("http")` on top of a function.
    
    The middleware function receives:
    
    * The `request`.
    * A function `call_next` that will receive the `request` as a parameter.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/pl/docs/tutorial/first-steps.md

    Umieszczasz to na szczycie funkcji. Jak ładną ozdobną czapkę (chyba stąd wzięła się nazwa).
    
    "Dekorator" przyjmuje funkcję znajdującą się poniżej jego i coś z nią robi.
    
    W naszym przypadku dekorator mówi **FastAPI**, że poniższa funkcja odpowiada **ścieżce** `/` z **operacją** `get`.
    
    Jest to "**dekorator operacji na ścieżce**".
    
    ///
    
    Możesz również użyć innej operacji:
    
    * `@app.post()`
    * `@app.put()`
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:51:30 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/ForwardingCache.java

     * more methods to modify the behavior of the backing cache as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingCache<K, V> extends ForwardingObject implements Cache<K, V> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingTable.java

     * A table which forwards all its method calls to another table. Subclasses should override one or
     * more methods to modify the behavior of the backing map as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * @author Gregory Kick
     * @since 7.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingTable<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  10. fastapi/utils.py

                "field (e.g. Union[Response, dict, None]) you can disable generating the "
                "response model from the type annotation with the path operation decorator "
                "parameter response_model=None. Read more: "
                "https://fastapi.tiangolo.com/tutorial/response-model/"
            ) from None
    
    
    def create_cloned_field(
        field: ModelField,
        *,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 23:46:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top