Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 177 for decoration (0.13 sec)

  1. docs/ko/docs/tutorial/first-steps.md

    ```
    
    `@app.get("/")`은 **FastAPI**에게 바로 아래에 있는 함수가 다음으로 이동하는 요청을 처리한다는 것을 알려줍니다.
    
    * 경로 `/`
    * <abbr title="HTTP GET 메소드"><code>get</code> 작동</abbr> 사용
    
    /// info | "`@decorator` 정보"
    
    이 `@something` 문법은 파이썬에서 "데코레이터"라 부릅니다.
    
    마치 예쁜 장식용(Decorative) 모자처럼(개인적으로 이 용어가 여기서 유래한 것 같습니다) 함수 맨 위에 놓습니다.
    
    "데코레이터"는 아래 있는 함수를 받아 그것으로 무언가를 합니다.
    
    우리의 경우, 이 데코레이터는 **FastAPI**에게 아래 함수가 **경로** `/`의 `get` **작동**에 해당한다고 알려줍니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/api/testdata/src/pkg/p1/p1.go

    // license that can be found in the LICENSE file.
    
    package p1
    
    import (
    	ptwo "p2"
    )
    
    const (
    	ConstChase2 = constChase // forward declaration to unexported ident
    	constChase  = AIsLowerA  // forward declaration to exported ident
    
    	// Deprecated: use B.
    	A         = 1
    	a         = 11
    	A64 int64 = 1
    
    	AIsLowerA = a // previously declared
    )
    
    const (
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

    /**
     * Tester of subtyping relationships between two types.
     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * <pre>{@code
     * class MySubtypeTests extends SubtypeTester {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/custom-response.md

    But you can also declare the `Response` that you want to be used (e.g. any `Response` subclass), in the *path operation decorator* using the `response_class` parameter.
    
    The contents that you return from your *path operation function* will be put inside of that `Response`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/SubtypeTester.java

    /**
     * Tester of subtyping relationships between two types.
     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * <pre>{@code
     * class MySubtypeTests extends SubtypeTester {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params.md

    ```JSON
    {"item_id":3}
    ```
    
    /// check
    
    Notice that the value your function received (and returned) is `3`, as a Python `int`, not a string `"3"`.
    
    So, with that type declaration, **FastAPI** gives you automatic request <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>.
    
    ///
    
    ## Data validation
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    </ol>
    
    <p>
    An identifier declared in a block may be redeclared in an inner block.
    While the identifier of the inner declaration is in scope, it denotes
    the entity declared by the inner declaration.
    </p>
    
    <p>
    The <a href="#Package_clause">package clause</a> is not a declaration; the package name
    does not appear in any scope. Its purpose is to identify the files belonging
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-operation-configuration.md

    # Path Operation Configuration
    
    There are several parameters that you can pass to your *path operation decorator* to configure it.
    
    /// warning
    
    Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*.
    
    ///
    
    ## Response Status Code
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    You can pass directly the `int` code, like `404`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java

     * service. Subclasses should override one or more methods to modify the behavior of the backing
     * executor service 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
    - 2.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingSortedSetMultimap.java

     * Subclasses should override one or more methods to modify the behavior of the backing multimap 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 Jun 15 21:08:00 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top