Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 648 for nfield (0.12 sec)

  1. docs/zh/docs/tutorial/body-fields.md

    !!! tip "提示"
    
        注意,模型属性的类型、默认值及 `Field` 的代码结构与*路径操作函数*的参数相同,只不过是用 `Field` 替换了`Path`、`Query`、`Body`。
    
    ## 添加更多信息
    
    `Field`、`Query`、`Body` 等对象里可以声明更多信息,并且 JSON Schema 中也会集成这些信息。
    
    *声明示例*一章中将详细介绍添加更多信息的知识。
    
    ## 小结
    
    Pydantic 的 `Field` 可以为模型属性声明更多校验和元数据。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 01 05:35:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/body-fields.md

    !!! tip "Tipp"
        Beachten Sie, dass jedes Modellattribut mit einem Typ, Defaultwert und `Field` die gleiche Struktur hat wie ein Parameter einer Pfadoperation-Funktion, nur mit `Field` statt `Path`, `Query`, `Body`.
    
    ## Zusätzliche Information hinzufügen
    
    Sie können zusätzliche Information in `Field`, `Query`, `Body`, usw. deklarieren. Und es wird im generierten JSON-Schema untergebracht.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 29 17:36:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/body-fields.md

    !!! tip "팁"
        주목할 점은 타입, 기본 값 및 `Field`로 이루어진 각 모델 어트리뷰트가  `Path`, `Query`와 `Body`대신 `Field`를 사용하는 *경로 작동 함수*의 매개변수와 같은 구조를 가진다는 점 입니다.
    
    ## 별도 정보 추가
    
    `Field`, `Query`, `Body`, 그 외 안에 별도 정보를 선언할 수 있습니다. 이는 생성된 JSON 스키마에 포함됩니다.
    
    여러분이 예제를 선언할 때 나중에 이 공식 문서에서 별도 정보를 추가하는 방법을 배울 것입니다.
    
    !!! warning "경고"
        별도 키가 전달된 `Field` 또한 여러분의 어플리케이션의 OpenAPI 스키마에 나타날 것입니다.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/validation_test.go

    								"field1": {
    									Type: "integer",
    								},
    								"field2": {
    									Type: "integer",
    								},
    							},
    							XValidations: apiextensions.ValidationRules{
    								{
    									Rule: "self.field1 < self.field2",
    								},
    							},
    							Default: jsonPtr(map[string]interface{}{"field1": 1, "field2": 2}),
    						},
    					},
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/internal/reflectlite/export_test.go

    	// In the latter case, we must have field.offset = 0,
    	// so v.ptr + field.offset is still the correct address.
    	ptr := add(v.ptr, field.Offset, "same as non-reflect &v.field")
    	return Value{typ, ptr, fl}
    }
    
    func TField(typ Type, i int) Type {
    	t := typ.(rtype)
    	if t.Kind() != Struct {
    		panic("reflect: Field of non-struct type")
    	}
    	tt := (*structType)(unsafe.Pointer(t.Type))
    
    	return StructFieldType(tt, i)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                JApiField field = (JApiField) member
                CtField oldField = field.oldFieldOptional.get()
                CtField newField = field.newFieldOptional.get()
    
                def oldNullability = hasNullableAnnotation(oldField)
                def newNullability = hasNullableAnnotation(newField)
    
                if (Modifier.isFinal(oldField.modifiers) && Modifier.isFinal(newField.modifiers)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    ⚫️ 5️⃣📆 😋 🤚 `HTTPException` ⚖️ 🎏 🚪 📟, ⏮️ `yield`. ✋️ **⚫️ 🏆 🚫 👷**.
    
    🚪 📟 🔗 ⏮️ `yield` 🛠️ *⏮️* 📨 📨, [⚠ 🐕‍🦺](../handling-errors.md#_4){.internal-link target=_blank} 🔜 ✔️ ⏪ 🏃. 📤 🕳 😽 ⚠ 🚮 👆 🔗 🚪 📟 (⏮️ `yield`).
    
    , 🚥 👆 🤚 `HTTPException` ⏮️ `yield`, 🔢 (⚖️ 🙆 🛃) ⚠ 🐕‍🦺 👈 ✊ `HTTPException`Ⓜ &amp; 📨 🇺🇸🔍 4️⃣0️⃣0️⃣ 📨 🏆 🚫 📤 ✊ 👈 ⚠ 🚫🔜.
    
    👉 ⚫️❔ ✔ 🕳 ⚒ 🔗 (✅ 💽 🎉), 🖼, ⚙️ 🖥 📋.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. schema/index_test.go

    			Class: "UNIQUE",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "FieldD"}},
    				// Note: Duplicate Columns
    				{Field: &schema.Field{Name: "FieldD"}},
    			},
    		},
    		"uniq_field_e1_e2": {
    			Name:  "uniq_field_e1_e2",
    			Class: "UNIQUE",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "FieldE1"}},
    				{Field: &schema.Field{Name: "FieldE2"}},
    			},
    		},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/lookup2.go

    	_ = x.Foo3 // ERROR "x.Foo3 undefined (type S has no field or method Foo3, but does have field foo3)"
    	_ = x.Foo4 // ERROR "x.Foo4 undefined (type S has no field or method Foo4, but does have field foO4)"
    
    	_ = x.foo1 // ERROR "x.foo1 undefined (type S has no field or method foo1, but does have field Foo1)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. callbacks/update.go

    			}
    
    			if stmt.Schema != nil {
    				if field := stmt.Schema.LookUpField(k); field != nil {
    					if field.DBName != "" {
    						if v, ok := selectColumns[field.DBName]; (ok && v) || (!ok && !restricted) {
    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: kv})
    							assignValue(field, value[k])
    						}
    					} else if v, ok := selectColumns[field.Name]; (ok && v) || (!ok && !restricted) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top