Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 151 for Decorator (0.31 sec)

  1. tests/test_dependency_overrides.py

                    }
                ]
            }
        )
    
    
    def test_decorator_depends_q_foo():
        response = client.get("/decorator-depends/?q=foo")
        assert response.status_code == 200
        assert response.json() == {"in": "decorator-depends"}
    
    
    def test_decorator_depends_q_foo_skip_100_limit_200():
        response = client.get("/decorator-depends/?q=foo&skip=100&limit=200")
        assert response.status_code == 200
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingIterator.java

     * 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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    In some cases you don't really need the return value of a dependency inside your *path operation function*.
    
    Or the dependency doesn't return a value.
    
    But you still need it to be executed/solved.
    
    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    ## Add `dependencies` to the *path operation decorator*
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

    /**
     * A cache which forwards all its method calls to another cache. Subclasses should override one or
     * 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>.
     *
     * <p>Note that {@link #get}, {@link #getUnchecked}, and {@link #apply} all expose the same
     * underlying functionality, so should probably be overridden as a group.
     *
     * @author Charles Fry
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  5. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 3K bytes
    - Viewed (0)
  6. android/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<
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/testdata/describe/tls_config.json

                              "config": "/apis/networking.istio.io/v1alpha3/namespaces/default/virtual-service/bookinfo"
                            }
                          }
                        },
                        "decorator": {
                          "operation": "productpage.default.svc.cluster.local:9080/productpage"
                        }
                      },
                      {
                        "match": {
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 8K bytes
    - Viewed (0)
  8. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  9. docs/vi/docs/tutorial/first-steps.md

        Bạn đặt nó trên một hàm. Giống như một chiếc mũ xinh xắn (Tôi ddonas đó là lí do mà thuật ngữ này ra đời).
    
        Một "decorator" lấy một hàm bên dưới và thực hiện một vài thứ với nó.
    
        Trong trường hợp của chúng ta, decorator này nói **FastAPI** rằng hàm bên dưới ứng với **đường dẫn** `/` và một **toán tử** `get`.
    
        Nó là một "**decorator đường dẫn toán tử**".
    
    Bạn cũng có thể sử dụng với các toán tử khác:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

     * CharEscaper based on the generated array.
     *
     * @author Sven Mawson
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class CharEscaperBuilder {
      /**
       * Simple decorator that turns an array of replacement char[]s into a CharEscaper, this results in
       * a very fast escape method.
       */
      private static class CharArrayDecorator extends CharEscaper {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top