Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,638 for item2 (0.05 sec)

  1. tests/associations_has_many_test.go

    		LanguageCode string `gorm:"not null;type:varchar(2)"`
    	}
    	type Item struct {
    		gorm.Model
    		Logo     string        `gorm:"not null;type:varchar(50)"`
    		Contents []ItemContent `gorm:"foreignKey:ItemID"`
    	}
    
    	tx := DB.Session(&gorm.Session{})
    	tx.Migrator().DropTable(&ItemContent{}, &Item{})
    	tx.AutoMigrate(&ItemContent{}, &Item{})
    
    	item := Item{
    		Logo: "logo",
    		Contents: []ItemContent{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/generate-clients.md

    In vielen Fällen wird Ihre FastAPI-Anwendung größer sein und Sie werden wahrscheinlich Tags verwenden, um verschiedene Gruppen von *Pfadoperationen* zu separieren.
    
    Beispielsweise könnten Sie einen Abschnitt für **Items (Artikel)** und einen weiteren Abschnitt für **Users (Benutzer)** haben, und diese könnten durch Tags getrennt sein:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="21  26  34"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/generate-clients.md

    生成的代码仍然存在一些**重复的信息**。
    
    我们已经知道该方法与 **items** 相关,因为它在 `ItemsService` 中(从标签中获取),但方法名中仍然有标签名作为前缀。😕
    
    一般情况下对于OpenAPI,我们可能仍然希望保留它,因为这将确保操作ID是**唯一的**。
    
    但对于生成的客户端,我们可以在生成客户端之前**修改** OpenAPI 操作ID,以使方法名称更加美观和**简洁**。
    
    我们可以将 OpenAPI JSON 下载到一个名为`openapi.json`的文件中,然后使用以下脚本**删除此前缀的标签**:
    
    ```Python
    {!../../docs_src/generate_clients/tutorial004.py!}
    ```
    
    通过这样做,操作ID将从类似于 `items-get_items` 的名称重命名为 `get_items` ,这样客户端生成器就可以生成更简洁的方法名称。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/elevateword/admin_elevateword.jsp

                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${elevateWordItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/elevateword/details/4/${f:u(data.id)}">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 27 06:24:23 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-nested-models.md

    ```
    
    ////
    
    With this, even if you receive a request with duplicate data, it will be converted to a set of unique items.
    
    And whenever you output that data, even if the source had duplicates, it will be output as a set of unique items.
    
    And it will be annotated / documented accordingly too.
    
    ## Nested Models
    
    Each attribute of a Pydantic model has a type.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. docs/de/docs/python-types.md

    <img src="/img/python-types/image05.png">
    
    Ohne Typen ist das fast unmöglich zu erreichen.
    
    Beachten Sie, dass die Variable `item` eines der Elemente in der Liste `items` ist.
    
    Und trotzdem weiß der Editor, dass es sich um ein `str` handelt, und bietet entsprechende Unterstützung.
    
    #### Tupel und Menge
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/badword/admin_badword.jsp

                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${badWordItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/badword/details/4/${f:u(data.id)}">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/crawlinginfo/admin_crawlinginfo.jsp

                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${crawlingInfoItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/crawlinginfo/details/4/${f:u(data.id)}">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 11.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/policy/v1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // Items is a list of PodDisruptionBudgets
      repeated PodDisruptionBudget items = 2;
    }
    
    // PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
    message PodDisruptionBudgetSpec {
      // An eviction is allowed if at least "minAvailable" pods selected by
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/parse.go

    	colon := -1
    	for tok != '\n' && tok != ';' {
    		// Process one operand.
    		var items []lex.Token
    		if cap(operands) > len(operands) {
    			// Reuse scratch items slice.
    			items = operands[:cap(operands)][len(operands)][:0]
    		} else {
    			items = make([]lex.Token, 0, 3)
    		}
    		for {
    			tok = p.nextToken()
    			if len(operands) == 0 && len(items) == 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top