Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 961 - 970 of 1,014 for iter (0.03 seconds)

  1. docs/zh-hant/docs/tutorial/response-model.md

    /// note | 注意
    
    注意 `response_model` 是「裝飾器」方法(`get`、`post` 等)的參數。不是你的「路徑操作函式」的參數(像其他參數與請求主體那樣)。
    
    ///
    
    `response_model` 接受的型別與你在 Pydantic 模型欄位中宣告的相同,所以它可以是一個 Pydantic 模型,也可以是例如由 Pydantic 模型組成的 `list`,像是 `List[Item]`。
    
    FastAPI 會使用這個 `response_model` 來做所有的資料文件、驗證等,並且也會將輸出資料轉換與過濾為其型別宣告。
    
    /// tip | 提示
    
    如果你在編輯器、mypy 等中有嚴格型別檢查,你可以把函式回傳型別宣告為 `Any`。
    
    這樣你是在告訴編輯器你是刻意回傳任意型別。但 FastAPI 仍會用 `response_model` 做資料文件、驗證、過濾等。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  2. docs/en/docs/release-notes.md

    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    class ItemV2(BaseModelV2):
        title: str
        summary: str | None = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    def create_item(item: Item):
        return {"title": item.name, "summary": item.description}
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  3. cmd/erasure-server-pool.go

    				sendErr(ctx.Err())
    			default:
    			}
    			xioutil.SafeClose(results)
    			cancelCause(nil)
    		}()
    		send := func(oi ObjectInfo) bool {
    			select {
    			case results <- itemOrErr[ObjectInfo]{Item: oi}:
    				return true
    			case <-ctx.Done():
    				sendErr(context.Cause(ctx))
    				return false
    			}
    		}
    		for entry := range merged {
    			if opts.LatestOnly {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       * Queue#isEmpty} and {@link Queue#remove()}, since {@link Queue}'s iteration order is undefined.
       * Calling {@link Iterator#hasNext()} on a generated iterator from the returned iterable may cause
       * an item to be immediately dequeued for return on a subsequent call to {@link Iterator#next()}.
       *
       * <p>Whether the input {@code iterable} is a {@link Queue} or not, the returned {@code Iterable}
       * is not thread-safe.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  5. LICENSE

    extent that warranties are provided), that licensees may convey the
    work under this License, and how to view a copy of this License.  If
    the interface presents a list of user commands or options, such as a
    menu, a prominent item in the list meets this criterion.
    
      1. Source Code.
    
      The "source code" for a work means the preferred form of the work
    for making modifications to it.  "Object code" means any non-source
    form of a work.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 33.7K bytes
    - Click Count (0)
  6. okhttp/src/androidMain/baseline-prof.txt

    HSPLkotlin/collections/SetsKt__SetsKt;->optimizeReadOnlyList(Ljava/util/List;)Ljava/util/List;
    HSPLkotlin/collections/builders/ListBuilder$Itr;-><init>(Lkotlin/collections/builders/ListBuilder;I)V
    HSPLkotlin/collections/builders/ListBuilder$Itr;->hasNext()Z
    HSPLkotlin/collections/builders/ListBuilder$Itr;->next()Ljava/lang/Object;
    HSPLkotlin/collections/builders/ListBuilder;-><init>()V
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  7. cmd/admin-bucket-handlers.go

    // 2. Replication config - is omitted from import as remote target credentials are not available from exported data for security reasons.
    // 3. lifecycle config - if transition rules are present, tier name needs to have been defined.
    func (a adminAPIHandlers) ImportBucketMetadataHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Get current object layer instance.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  8. cmd/bucket-replication.go

    			resyncStatus = ResyncCanceled
    			return
    		case <-ctx.Done():
    			return
    		default:
    		}
    		if heal && lastCheckpoint != "" && lastCheckpoint != res.Item.Name {
    			continue
    		}
    		lastCheckpoint = ""
    		roi := getHealReplicateObjectInfo(res.Item, rcfg)
    		if !roi.ExistingObjResync.mustResync() {
    			continue
    		}
    		select {
    		case <-s.resyncCancelCh:
    			return
    		case <-ctx.Done():
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  9. src/main/resources/fess_label_id.properties

    labels.file_auth_parameters=Parameter
    labels.file_auth_file_crawling_config=Konfigurasi Perayapan Berkas
    labels.file_auth_scheme_samba=Samba
    labels.file_auth_scheme_ftp=FTP
    labels.pagination_page_guide_msg={0}/{1} ({2} item)
    labels.list_could_not_find_crud_table=Tidak terdaftar.
    labels.scheduledjob_configuration=Penjadwal Job
    labels.scheduledjob_title_details=Pekerjaan
    labels.scheduledjob_name=Nama
    labels.scheduledjob_target=Target
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 50.2K bytes
    - Click Count (0)
  10. cmd/erasure-healing.go

    				hr.After.Drives[i].State = madmin.DriveStateOffline
    			default:
    				hr.After.Drives[i].State = madmin.DriveStateCorrupt
    			}
    		}
    	}
    	return hr, nil
    }
    
    // Populates default heal result item entries with possible values when we are returning prematurely.
    // This is to ensure that in any circumstance we are not returning empty arrays with wrong values.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
Back to Top