Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 57 for replacing (0.1 seconds)

  1. docs/en/docs/tutorial/body-updates.md

    # Body - Updates { #body-updates }
    
    ## Update replacing with `PUT` { #update-replacing-with-put }
    
    To update an item you can use the [HTTP `PUT`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT) operation.
    
    You can use the `jsonable_encoder` to convert the input data to data that can be stored as JSON (e.g. with a NoSQL database). For example, converting `datetime` to `str`.
    
    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/body-updates.md

    # Body - 更新 { #body-updates }
    
    ## 使用 `PUT` 取代式更新 { #update-replacing-with-put }
    
    要更新一個項目,你可以使用 [HTTP `PUT`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT) 操作。
    
    你可以使用 `jsonable_encoder` 將輸入資料轉換為可儲存為 JSON 的資料(例如用於 NoSQL 資料庫)。例如把 `datetime` 轉成 `str`。
    
    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    `PUT` 用於接收應該取代現有資料的資料。
    
    ### 關於取代的警告 { #warning-about-replacing }
    
    這表示,如果你想用 `PUT` 並在 body 中包含以下內容來更新項目 `bar`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/body-updates.md

    # 请求体 - 更新数据 { #body-updates }
    
    ## 用 `PUT` 替换式更新 { #update-replacing-with-put }
    
    更新数据可以使用 [HTTP `PUT`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT) 操作。
    
    把输入数据转换为以 JSON 格式存储的数据(比如,使用 NoSQL 数据库时),可以使用 `jsonable_encoder`。例如,把 `datetime` 转换为 `str`。
    
    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    `PUT` 用于接收替换现有数据的数据。
    
    ### 关于替换的警告 { #warning-about-replacing }
    
    用 `PUT` 把数据项 `bar` 更新为以下请求体时:
    
    ```Python
    {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/body-updates.md

    # Body - 업데이트 { #body-updates }
    
    ## `PUT`으로 교체 업데이트하기 { #update-replacing-with-put }
    
    항목을 업데이트하려면 [HTTP `PUT`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT) 작업을 사용할 수 있습니다.
    
    `jsonable_encoder`를 사용해 입력 데이터를 JSON으로 저장할 수 있는 데이터로 변환할 수 있습니다(예: NoSQL 데이터베이스 사용 시). 예를 들어 `datetime`을 `str`로 변환하는 경우입니다.
    
    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    `PUT`은 기존 데이터를 **대체**해야 하는 데이터를 받는 데 사용합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/body-updates.md

    ## `PUT`による置換での更新 { #update-replacing-with-put }
    
    項目を更新するには[HTTPの`PUT`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT)操作を使用することができます。
    
    `jsonable_encoder`を用いて、入力データをJSONとして保存できるデータに変換することができます(例:NoSQLデータベース)。例えば、`datetime`を`str`に変換します。
    
    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    `PUT`は、既存のデータを置き換えるべきデータを受け取るために使用されます。
    
    ### 置換についての注意 { #warning-about-replacing }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            // Verify listener is called on shutdown
            jobExecutor.shutdown();
            assertTrue(shutdownCalled.get());
        }
    
        @Test
        public void test_addShutdownListener_replace() {
            // Test replacing shutdown listener
            AtomicInteger callCount = new AtomicInteger(0);
            ShutdownListener listener1 = new ShutdownListener() {
                @Override
                public void onShutdown() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Verify.java

       * custom message otherwise.
       *
       * @param expression a boolean expression
       * @param errorMessageTemplate a template for the exception message should the check fail. The
       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Verify.java

       * custom message otherwise.
       *
       * @param expression a boolean expression
       * @param errorMessageTemplate a template for the exception message should the check fail. The
       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/query/QueryCommand.java

            ) {
                return QueryBuilders.prefixQuery(f, text);
            }
            return QueryBuilders.matchPhraseQuery(f, text);
        }
    
        /**
         * Gets the actual search field, replacing default field placeholder if needed.
         * @param defaultField The default field to use if field is the default placeholder.
         * @param field The field name to check.
         * @return The actual field name to use for searching.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. cmd/signature-v4-parser.go

    //	        SignedHeaders=signedHeaders, Signature=signature
    func parseSignV4(v4Auth string, region string, stype serviceType) (sv signValues, aec APIErrorCode) {
    	// credElement is fetched first to skip replacing the space in access key.
    	credElement := strings.TrimPrefix(strings.Split(strings.TrimSpace(v4Auth), ",")[0], signV4Algorithm)
    	// Replace all spaced strings, some clients can send spaced
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top