Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 668 for custom1 (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/api-errors_test.go

    	{err: crypto.ErrCustomerKeyMD5Mismatch, errCode: ErrSSECustomerKeyMD5Mismatch},
    	{err: errObjectTampered, errCode: ErrObjectTampered},
    
    	{err: nil, errCode: ErrNone},
    	{err: errors.New("Custom error"), errCode: ErrInternalError}, // Case where err type is unknown.
    }
    
    func TestAPIErrCode(t *testing.T) {
    	ctx := t.Context()
    	for i, testCase := range toAPIErrorTests {
    		errCode := toAPIErrorCode(ctx, testCase.err)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. docs/fr/docs/tutorial/handling-errors.md

    Vous pouvez passer un `dict`, une `list`, etc.
    
    Elles sont gérées automatiquement par **FastAPI** et converties en JSON.
    
    ///
    
    ## Ajouter des en-têtes personnalisés { #add-custom-headers }
    
    Dans certaines situations, il est utile de pouvoir ajouter des en-têtes personnalisés à l'erreur HTTP. Par exemple, pour certains types de sécurité.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/advanced/generate-clients.md

    接下來我會示範如何把它變得更好看。🤓
    
    ## 自訂 Operation ID 與更好的方法名稱 { #custom-operation-ids-and-better-method-names }
    
    你可以**修改**這些操作 ID 的**產生方式**,讓它們更簡潔,並在用戶端中得到**更簡潔的方法名稱**。
    
    在這種情況下,你需要用其他方式確保每個操作 ID 都是**唯一**的。
    
    例如,你可以確保每個 *路徑操作* 都有標籤,接著根據**標籤**與 *路徑操作* 的**名稱**(函式名稱)來產生操作 ID。
    
    ### 自訂唯一 ID 產生函式 { #custom-generate-unique-id-function }
    
    FastAPI 會為每個 *路徑操作* 使用一個**唯一 ID**,它會被用於**操作 ID**,以及任何請求或回應所需的自訂模型名稱。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/context/SingletonContext.java

        private static final Logger log = LoggerFactory.getLogger(SingletonContext.class);
        private static SingletonContext INSTANCE;
    
        /**
         * Initialize singleton context using custom properties
         *
         * This method can only be called once.
         *
         * @param props the properties to use for initialization
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/extra-data-types.md

        * O Pydantic também permite representá-lo como uma "codificação ISO 8601 diferença de tempo", [cheque a documentação para mais informações](https://docs.pydantic.dev/latest/concepts/serialization/#custom-serializers).
    * `frozenset`:
        * Em requisições e respostas, será tratado da mesma forma que um `set`:
            * Nas requisições, uma lista será lida, eliminando duplicadas e convertendo-a em um `set`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/response-headers.md

    為了方便開發者,FastAPI 提供與 `starlette.responses` 相同的內容於 `fastapi.responses`。但大多數可用的回應類型其實直接來自 Starlette。
    
    由於 `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 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/RemoteRepository.java

     * <li><dfn>Private Remote Repository</dfn>: Organizations often maintain their own private remote repositories, which may host proprietary or custom-built artifacts that are not available in the central repository. These repositories can be managed using tools like Apache Archiva, Sonatype Nexus, or JFrog Artifactory.</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/json-base64-bytes.md

    # 使用 Base64 表示位元組的 JSON { #json-with-bytes-as-base64 }
    
    如果你的應用需要收發 JSON 資料,但其中需要包含二進位資料,你可以將它以 base64 編碼。
    
    ## Base64 與檔案 { #base64-vs-files }
    
    請先考慮是否能用 [請求檔案](../tutorial/request-files.md) 來上傳二進位資料,並用 [自訂回應 - FileResponse](./custom-response.md#fileresponse--fileresponse-) 來傳送二進位資料,而不是把它們編碼進 JSON。
    
    JSON 只能包含 UTF-8 編碼的字串,因此無法直接包含原始位元組。
    
    Base64 可以把二進位資料編碼成字串,但為此會使用比原始二進位資料更多的字元,因此通常比直接使用檔案來得沒那麼有效率。
    
    只有在確實必須把二進位資料包含在 JSON 裡,且無法改用檔案時,才使用 base64。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  9. docs/zh/docs/how-to/general.md

    ## OpenAPI 元数据 - 文档 { #openapi-metadata-docs }
    
    要添加 OpenAPI 的元数据,包括许可证、版本、联系方式等,请阅读 [教程 - 元数据和文档 URL](../tutorial/metadata.md) 文档。
    
    ## OpenAPI 自定义 URL { #openapi-custom-url }
    
    要自定义 OpenAPI 的 URL(或删除它),请阅读 [教程 - 元数据和文档 URL](../tutorial/metadata.md#openapi-url) 文档。
    
    ## OpenAPI 文档 URL { #openapi-docs-urls }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  10. .github/ISSUE_TEMPLATE/tensorflow_issue_template.yaml

        id: tfversion
        attributes:
          label: TensorFlow version
          placeholder: e.g., tf 2.8
        validations:
          required: true
      - type: dropdown
        id: Code
        attributes:
          label: Custom code
          options:
            - "Yes"
            - "No"
        validations:
          required: true
      - type: input
        id: OS
        attributes:
          label: OS platform and distribution
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jun 28 18:25:42 GMT 2023
    - 3.7K bytes
    - Click Count (0)
Back to Top