Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 799 for CUSTOM (0.04 seconds)

  1. guava/src/com/google/common/cache/LocalCache.java

          super(oldValue);
        }
    
        @Override
        public boolean isLoading() {
          return false;
        }
      }
    
      // Queues
    
      /**
       * A custom queue for managing eviction order. Note that this is tightly integrated with {@code
       * ReferenceEntry}, upon which it relies to perform its linking.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/handling-errors.md

    이들은 **FastAPI**가 자동으로 처리해 JSON으로 변환합니다.
    
    ///
    
    ## 커스텀 헤더 추가하기 { #add-custom-headers }
    
    HTTP 오류에 커스텀 헤더를 추가할 수 있으면 유용한 상황이 있습니다. 예를 들어 특정 보안 유형에서 그렇습니다.
    
    아마 코드에서 직접 사용할 일은 거의 없을 것입니다.
    
    하지만 고급 시나리오에서 필요하다면 커스텀 헤더를 추가할 수 있습니다:
    
    {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *}
    
    ## 커스텀 예외 핸들러 설치하기 { #install-custom-exception-handlers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/bigger-applications.md

    我們沒有把 `/items` 的 prefix 以及 `tags=["items"]` 加在每個路徑操作上,因為我們已經把它們加在 `APIRouter` 上了。
    
    但我們仍可以在特定的路徑操作上再加上更多的 `tags`,以及一些只屬於該路徑操作的額外 `responses`:
    
    {* ../../docs_src/bigger_applications/app_an_py310/routers/items.py hl[30:31] title["app/routers/items.py"] *}
    
    /// tip | 提示
    
    這最後一個路徑操作會有組合後的標籤:`["items", "custom"]`。
    
    而且在文件中同時會有 `404` 與 `403` 兩種回應。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            cliRequest.topDirectory = topDirectory;
            // We're very early in the process, and we don't have the container set up yet,
            // so we rely on the JDK services to eventually look up a custom RootLocator.
            // This is used to compute {@code session.rootDirectory} but all {@code project.rootDirectory}
            // properties will be computed through the RootLocator found in the container.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/bigger-applications.md

    ### Einige benutzerdefinierte `tags`, `responses`, und `dependencies` hinzufügen { #add-some-custom-tags-responses-and-dependencies }
    
    Wir fügen weder das Präfix `/items` noch `tags=["items"]` zu jeder *Pfadoperation* hinzu, da wir sie zum `APIRouter` hinzugefügt haben.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 21.9K bytes
    - Click Count (0)
  6. docs/ja/docs/advanced/response-headers.md

    また、`Response` はヘッダーや Cookie を設定するのによく使われるため、**FastAPI** は `fastapi.Response` でも提供しています。
    
    ///
    
    ## カスタムヘッダー { #custom-headers }
    
    独自のカスタムヘッダーは、[`X-` プレフィックスを使って](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers)追加できることに注意してください。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/handling-errors.md

    你可以傳入 `dict`、`list` 等。
    
    **FastAPI** 會自動處理並轉為 JSON。
    
    ///
    
    ## 新增自訂標頭 { #add-custom-headers }
    
    有些情況需要在 HTTP 錯誤回應中加入自訂標頭,例如某些安全性情境。
    
    你大概不需要在程式碼中直接使用。
    
    但若你在進階情境中需要,可以這樣加入自訂標頭:
    
    {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *}
    
    ## 安裝自訂例外處理器 { #install-custom-exception-handlers }
    
    你可以使用 [Starlette 的相同例外工具](https://www.starlette.dev/exceptions/) 來加入自訂例外處理器。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/bigger-applications.md

    Але тепер ви знаєте, як це працює, тож можете використовувати відносні імпорти у власних застосунках, незалежно від їхньої складності. 🤓
    
    ### Додайте користувацькі `tags`, `responses` і `dependencies` { #add-some-custom-tags-responses-and-dependencies }
    
    Ми не додаємо префікс `/items` ані `tags=["items"]` до кожної *операції шляху*, бо додали їх до `APIRouter`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  9. docs/fr/docs/advanced/response-directly.md

    ///
    
    ## Renvoyer une `Response` personnalisée { #returning-a-custom-response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/extra-data-types.md

        * Pythonの`datetime.timedelta`です。
        * リクエストとレスポンスでは合計秒数の`float`で表現されます。
        * Pydanticでは「ISO 8601 time diff encoding」として表現することも可能です。[詳細はドキュメントを参照してください](https://docs.pydantic.dev/latest/concepts/serialization/#custom-serializers)。
    * `frozenset`:
        * リクエストとレスポンスでは`set`と同じように扱われます:
            * リクエストでは、リストが読み込まれ、重複を排除して`set`に変換されます。
            * レスポンスでは`set`が`list`に変換されます。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.2K bytes
    - Click Count (0)
Back to Top