Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 216 for decorators (0.1 seconds)

  1. docs/zh-hant/docs/tutorial/first-steps.md

    所以,在 OpenAPI 中,每個 HTTP 方法都被稱為「操作」。
    
    我們將會稱它們為「**操作**」。
    
    #### 定義一個「路徑操作裝飾器」 { #define-a-path-operation-decorator }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *}
    
    `@app.get("/")` 告訴 **FastAPI** 那個函式負責處理請求:
    
    * 路徑 `/`
    * 使用 <dfn title="HTTP GET 方法"><code>get</code> 操作</dfn>
    
    /// info | `@decorator` 說明
    
    Python 中的 `@something` 語法被稱為「裝飾器」。
    
    你把它放在一個函式上面。像一個漂亮的裝飾帽子(我猜這是術語的來源)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ForwardingSortedSet.java

     * override one or more methods to modify the behavior of the backing sorted set as desired per the
     * <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedSet} forward <i>indiscriminately</i> to
     * the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/first-steps.md

    #### Визначте *декоратор операції шляху* { #define-a-path-operation-decorator }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *}
    
    Декоратор `@app.get("/")` повідомляє **FastAPI**, що функція одразу нижче відповідає за обробку запитів, які надходять до:
    
    * шляху `/`
    * використовуючи <dfn title="HTTP метод GET"><code>get</code> операція</dfn>
    
    /// info | `@decorator` Інформація
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

    import javax.inject.Inject;
    import java.io.File;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    
    /**
     * 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
    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)
  5. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

     * should override one or more methods to modify the behavior of the backing multiset as desired per
     * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward
     * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/first-steps.md

    우리 역시 이제부터 메소드를 "**작동**"이라고 부를 것입니다.
    
    #### *경로 처리 데코레이터* 정의 { #define-a-path-operation-decorator }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *}
    
    `@app.get("/")`은 **FastAPI**에게 바로 아래에 있는 함수가 다음으로 이동하는 요청을 처리한다는 것을 알려줍니다:
    
    * 경로 `/`
    * <dfn title="HTTP GET 메소드"><code>get</code> 작동</dfn> 사용
    
    /// info | `@decorator` 정보
    
    이 `@something` 문법은 파이썬에서 "데코레이터"라 부릅니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 15K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/first-steps.md

    因此,在 OpenAPI 中,每一个 HTTP 方法都被称为「操作」。
    
    我们也打算称呼它们为「操作」。
    
    #### 定义一个*路径操作装饰器* { #define-a-path-operation-decorator }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *}
    
    `@app.get("/")` 告诉 **FastAPI** 在它下方的函数负责处理如下访问请求:
    
    * 请求路径为 `/`
    * 使用 <dfn title="一种 HTTP GET 方法"><code>get</code> 操作</dfn>
    
    /// info | `@decorator` 信息
    
    `@something` 语法在 Python 中被称为「装饰器」。
    
    像一顶漂亮的装饰帽一样,将它放在一个函数的上方(我猜测这个术语的命名就是这么来的)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    * [`@contextlib.asynccontextmanager`](https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager)
    
    sería válida para usar como una dependencia en **FastAPI**.
    
    De hecho, FastAPI usa esos dos decoradores internamente.
    
    ///
    
    ## Una dependencia de base de datos con `yield` { #a-database-dependency-with-yield }
    
    Por ejemplo, podrías usar esto para crear una sesión de base de datos y cerrarla después de finalizar.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ForwardingList.java

     * A list which forwards all its method calls to another list. Subclasses should override one or
     * more methods to modify the behavior of the backing list as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p>This class does not implement {@link java.util.RandomAccess}. If the delegate supports random
     * access, the {@code ForwardingList} subclass should implement the {@code RandomAccess} interface.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 7.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

     * should override one or more methods to modify the behavior of the backing multiset as desired per
     * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward
     * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top