Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 1,169 for item01 (0.06 seconds)

  1. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    ///
    
    ```mermaid
    graph TB
    
    query_extractor(["query_extractor"])
    query_or_cookie_extractor(["query_or_cookie_extractor"])
    
    read_query["/items/"]
    
    query_extractor --> query_or_cookie_extractor --> read_query
    ```
    
    ## Utilizando a mesma dependência múltiplas vezes { #using-the-same-dependency-multiple-times }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/body-nested-models.md

    ///
    
    ## 深度巢狀模型 { #deeply-nested-models }
    
    你可以定義任意深度的巢狀模型:
    
    {* ../../docs_src/body_nested_models/tutorial007_py310.py hl[7,12,18,21,25] *}
    
    /// info
    
    請注意,`Offer` 具有一個 `Item` 的列表,而每個 `Item` 又有一個可選的 `Image` 列表。
    
    ///
    
    ## 純列表的本文 { #bodies-of-pure-lists }
    
    如果你期望的 JSON 本文頂層值是一個 JSON `array`(Python 的 `list`),可以像在 Pydantic 模型中那樣,直接在函式參數上宣告其型別:
    
    ```Python
    images: list[Image]
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/response-model.md

    ///
    
    `response_model`, Pydantic model field’ı için declare edeceğiniz aynı tipi alır; yani bir Pydantic model olabilir ama örneğin `List[Item]` gibi Pydantic model’lerden oluşan bir `list` de olabilir.
    
    FastAPI bu `response_model`’i; dokümantasyon, doğrulama vb. her şey için ve ayrıca çıktı verisini **tip tanımına göre dönüştürmek ve filtrelemek** için kullanır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/body-updates.md

    但本指南会大致展示它们的预期用法。
    
    ///
    
    ### 使用 Pydantic 的 `exclude_unset` 参数 { #using-pydantics-exclude-unset-parameter }
    
    如果要接收部分更新,建议在 Pydantic 模型的 `.model_dump()` 中使用 `exclude_unset` 参数。
    
    比如,`item.model_dump(exclude_unset=True)`。
    
    这会生成一个 `dict`,只包含创建 `item` 模型时显式设置的数据,不包含默认值。
    
    然后再用它生成一个只含已设置(在请求中发送)数据、且省略默认值的 `dict`:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    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)
  5. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

                        } else if (value instanceof List<?> list) {
                            for (Object item : list) {
                                if (item != null) {
                                    String itemName = getSingular(field.getName());
                                    processModelNode(item, fullPath + "/" + itemName, itemName, visited);
                                }
                            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/body-updates.md

    但本指南會大致示範它們各自的設計用法。
    
    ///
    
    ### 使用 Pydantic 的 `exclude_unset` 參數 { #using-pydantics-exclude-unset-parameter }
    
    如果要接收部分更新,在 Pydantic 模型的 `.model_dump()` 中使用 `exclude_unset` 參數非常實用。
    
    例如 `item.model_dump(exclude_unset=True)`。
    
    這會產生一個只包含建立 `item` 模型時實際設定過之欄位的 `dict`,不含預設值。
    
    接著你可以用它來生成只包含實際設定(請求中傳來)的資料之 `dict`,省略預設值:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    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)
  7. .github/PULL_REQUEST_TEMPLATE

    This PR will be imported into Gerrit with the title and first
    comment (this text) used to generate the subject and body of
    the Gerrit change.
    
    **Please ensure you adhere to every item in this list.**
    
    More info can be found at https://github.com/golang/go/wiki/CommitMessage
    
    + The PR title is formatted as follows: `net/http: frob the quux before blarfing`
      + The package name goes before the colon
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Feb 21 02:07:46 GMT 2018
    - 1.2K bytes
    - Click Count (0)
  8. cmd/mrf.go

    			n, err := mw.Write(data[:])
    			if err != nil {
    				w.CloseWithError(err)
    				return
    			}
    			if n != len(data) {
    				w.CloseWithError(io.ErrShortWrite)
    				return
    			}
    			for item := range m.opCh {
    				err = item.EncodeMsg(mw)
    				if err != nil {
    					break
    				}
    			}
    			mw.Flush()
    			w.CloseWithError(err)
    		}()
    		return r
    	}
    
    	globalLocalDrivesMu.RLock()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. internal/kms/kms.go

    		ContinueAt: req.ContinueAt,
    		Limit:      req.Limit,
    	})
    	if err != nil {
    		return nil, "", errListingKeysFailed(err)
    	}
    
    	keyInfos := make([]madmin.KMSKeyInfo, len(resp.Items))
    	for i, v := range resp.Items {
    		keyInfos[i].Name = v.Name
    		keyInfos[i].CreatedAt = v.CreatedAt
    		keyInfos[i].CreatedBy = v.CreatedBy.String()
    	}
    	return keyInfos, resp.ContinueAt, nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. docs/tr/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    {* ../../docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py hl[2:3,6,12,21:22] *}
    
    Yukarıdaki örnekte input modeli bir Pydantic v1 modelidir; output modeli ( `response_model=ItemV2` ile tanımlanan) ise bir Pydantic v2 modelidir.
    
    ### Pydantic v1 Parametreleri { #pydantic-v1-parameters }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top