Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 3,496 for annotation (0.05 seconds)

  1. docs/zh-hant/docs/advanced/stream-data.md

    ### 非 async 路徑操作函式 { #non-async-path-operation-functions }
    
    你也可以使用一般的 `def` 函式(沒有 `async`),並以相同方式使用 `yield`。
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[26:29] hl[27] *}
    
    ### 不需要型別註解 { #no-annotation }
    
    對於串流二進位資料,其實不需要宣告回傳型別註解。
    
    由於 FastAPI 不會試圖用 Pydantic 將資料轉成 JSON,或以其他方式序列化,在這種情況下,型別註解僅供編輯器與工具使用,FastAPI 並不會用到它。
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[32:35] hl[33] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    现在,你可以使用这个类来声明你的依赖项了。
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[19] *}
    
    **FastAPI** 调用 `CommonQueryParams` 类。这将创建该类的一个 "实例",该实例将作为参数 `commons` 被传递给你的函数。
    
    ## 类型注解 vs `Depends` { #type-annotation-vs-depends }
    
    注意,我们在上面的代码中编写了两次`CommonQueryParams`:
    
    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. docs/ja/docs/advanced/stream-data.md

    ### 非 async な path operation 関数 { #non-async-path-operation-functions }
    
    `async` なしの通常の `def` 関数でも同様に `yield` を使えます。
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[26:29] hl[27] *}
    
    ### アノテーションなし { #no-annotation }
    
    バイナリデータをストリームする場合、戻り値の型アノテーションを宣言する必要は実際にはありません。
    
    この場合、FastAPI はデータを Pydantic で JSON 化したり、何らかの方法でシリアライズしようとしないため、型アノテーションはエディタやツール向けの補助にすぎず、FastAPI 自体では使用されません。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  4. docs/de/llm-prompt.md

    Example:
    
    Source (English):
    
    ```
    ## Type hints and annotations { #type-hints-and-annotations }
    ```
    
    Translate with (German) - notice the hyphen:
    
    ```
    ## Typhinweise und -annotationen { #type-hints-and-annotations }
    ```
    
    Do NOT translate with (German) - notice the dash:
    
    ```
    ## Typhinweise und –annotationen { #type-hints-and-annotations }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 29 18:54:20 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Comparators.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Optional;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Provides static methods for working with {@link Comparator} instances. For many other helpful
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/path-params.md

    ///
    
    ## 요약 { #recap }
    
    **FastAPI**를 이용하면 짧고 직관적인 표준 파이썬 타입 선언을 사용하여 다음을 얻을 수 있습니다:
    
    * 편집기 지원: 오류 검사, 자동완성 등
    * 데이터 "<dfn title="HTTP 요청에서 전달되는 문자열을 파이썬 데이터로 변환">파싱</dfn>"
    * 데이터 검증
    * API 주석(Annotation)과 자동 문서
    
    그리고 한 번만 선언하면 됩니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

    import static com.google.common.base.Preconditions.checkPositionIndexes;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Converter;
    import com.google.errorprone.annotations.InlineMe;
    import com.google.errorprone.annotations.InlineMeValidationDisabled;
    import java.io.Serializable;
    import java.util.AbstractList;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/dependencies/classes-as-dependencies.md

    現在你可以用這個類別來宣告你的相依性。
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[19] *}
    
    **FastAPI** 會呼叫 `CommonQueryParams` 類別。這會建立該類別的一個「實例」,而該實例會以參數 `commons` 的形式傳給你的函式。
    
    ## 型別註解與 `Depends` { #type-annotation-vs-depends }
    
    注意上面程式碼裡我們寫了兩次 `CommonQueryParams`:
    
    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

              Class<?>[] parameterTypes = method.getParameterTypes();
              checkArgument(
                  parameterTypes.length == 1,
                  "Method %s has @Subscribe annotation but has %s parameters. "
                      + "Subscriber methods must have exactly 1 parameter.",
                  method,
                  parameterTypes.length);
    
              checkArgument(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionBean.java

        @Override
        public void enableThatsBadTiming() {
            // do nothing
        }
    
        @Override
        public void disableThatsBadTiming() {
            // do nothing
        }
    
        // no annotation for compatible with 1.1.1
        public void enableSpecifyColumnRequired() {
            // do nothing
        }
    
        public void disableSpecifyColumnRequired() {
            // do nothing
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top