- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,069 for Field3 (0.2 sec)
-
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) -
src/encoding/xml/typeinfo.go
i := conflicts[c] copy(tinfo.fields[i:], tinfo.fields[i+1:]) tinfo.fields = tinfo.fields[:len(tinfo.fields)-1] } tinfo.fields = append(tinfo.fields, *newf) return nil } // A TagPathError represents an error in the unmarshaling process // caused by the use of field tags with conflicting paths. type TagPathError struct { Struct reflect.Type Field1, Tag1 string Field2, Tag2 string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:23:29 UTC 2023 - 9.6K 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/pt/docs/tutorial/body-fields.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 02 15:00:11 UTC 2021 - 2.2K 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) -
test/typeparam/pairimp.dir/main.go
if got, want := unsafe.Sizeof(p.Field1), uintptr(4); got != want { panic(fmt.Sprintf("unexpected f1 size == %d, want %d", got, want)) } if got, want := unsafe.Sizeof(p.Field2), uintptr(8); got != want { panic(fmt.Sprintf("unexpected f2 size == %d, want %d", got, want)) } type mypair struct { Field1 int32 Field2 int64 } mp := mypair(p) if mp.Field1 != 1 || mp.Field2 != 2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 716 bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
# Dependencies with yield FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>. To do this, use `yield` instead of `return`, and write the extra steps (code) after. !!! tip Make sure to use `yield` one single time. !!! note "Technical Details" Any function that is valid to use with:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 14.1K bytes - Viewed (0) -
hack/testdata/CRD/multi-crd-list.yaml
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Oct 01 15:43:24 UTC 2017 - 335 bytes - Viewed (0)