- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 413 for yield4 (0.09 sec)
-
schema/field.go
field.DataType = "" field.IgnoreMigration = true case "migration": field.IgnoreMigration = true } } if v, ok := field.TagSettings["->"]; ok { field.Creatable = false field.Updatable = false if strings.ToLower(v) == "false" { field.Readable = false } else { field.Readable = true } } if v, ok := field.TagSettings["<-"]; ok { field.Creatable = true
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
cni/pkg/install/install.go
// at this moment, and if not, yield. This is to catch other CNIs which might have mutated the file between // the (theoretical) window after we initially install/write, but before we actually start the filewatch. if err := checkValidCNIConfig(in.cfg, in.cniConfigFilepath); err != nil { return nil } // If a file we are watching has a change event, yield and let caller check validity select {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:18 UTC 2024 - 10.7K bytes - Viewed (0) -
docs/en/docs/tutorial/body-fields.md
# Body - Fields The same way you can declare additional validation and metadata in *path operation function* parameters with `Query`, `Path` and `Body`, you can declare validation and metadata inside of Pydantic models using Pydantic's `Field`. ## Import `Field` First, you have to import it: === "Python 3.10+" ```Python hl_lines="4" {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!} ``` === "Python 3.9+"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 3.6K bytes - Viewed (0) -
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) -
docs/ja/docs/tutorial/body-fields.md
## `Field`のインポート まず、以下のようにインポートします: ```Python hl_lines="4" {!../../../docs_src/body_fields/tutorial001.py!} ``` !!! warning "注意" `Field`は他の全てのもの(`Query`、`Path`、`Body`など)とは違い、`fastapi`からではなく、`pydantic`から直接インポートされていることに注意してください。 ## モデルの属性の宣言 以下のように`Field`をモデルの属性として使用することができます: ```Python hl_lines="11 12 13 14"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jan 15 15:33:28 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/uk/docs/tutorial/body-fields.md
!!! tip Зверніть увагу, що кожен атрибут моделі із типом, значенням за замовчуванням та `Field` має ту саму структуру, що й параметр *функції обробки шляху*, з `Field` замість `Path`, `Query` і `Body`. ## Додавання додаткової інформації Ви можете визначити додаткову інформацію у `Field`, `Query`, `Body` тощо. І вона буде включена у згенеровану JSON схему.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Jan 09 15:25:48 UTC 2024 - 5.2K bytes - Viewed (0) -
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) -
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) -
src/fmt/doc.go
will use arguments n+1, n+2, etc. unless otherwise directed. For example, fmt.Sprintf("%[2]d %[1]d\n", 11, 22) will yield "22 11", while fmt.Sprintf("%[3]*.[2]*[1]f", 12.0, 2, 6) equivalent to fmt.Sprintf("%6.2f", 12.0) will yield " 12.00". Because an explicit index affects subsequent verbs, this notation can be used to print the same values multiple times
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 14.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0)