- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 239 for nested (0.05 sec)
-
docs/de/docs/tutorial/body-nested-models.md
``` //// ## Editor-Unterstützung überall Und Sie erhalten Editor-Unterstützung überall. Selbst für Dinge in Listen: <img src="/img/tutorial/body-nested-models/image01.png"> Sie würden diese Editor-Unterstützung nicht erhalten, wenn Sie direkt mit `dict`, statt mit Pydantic-Modellen arbeiten würden.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.3K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-nested-models.md
```Python hl_lines="15" {!../../docs_src/body_nested_models/tutorial008.py!} ``` ## あらゆる場所でのエディタサポート エディタのサポートもどこでも受けることができます。 以下のようにリストの中の項目でも: <img src="https://fastapi.tiangolo.com/img/tutorial/body-nested-models/image01.png"> Pydanticモデルではなく、`dict`を直接使用している場合はこのようなエディタのサポートは得られません。 しかし、それらについて心配する必要はありません。入力された辞書は自動的に変換され、出力も自動的にJSONに変換されます。 ## 任意の`dict`のボディ また、ある型のキーと別の型の値を持つ`dict`としてボディを宣言することもできます。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
``` ## Suporte de editor em todo canto E você obtém suporte do editor em todos os lugares. Mesmo para itens dentro de listas: <img src="/img/tutorial/body-nested-models/image01.png"> Você não conseguiria este tipo de suporte de editor se estivesse trabalhando diretamente com `dict` em vez de modelos Pydantic.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.4K bytes - Viewed (0) -
docs/em/docs/tutorial/body-nested-models.md
```Python hl_lines="13" {!> ../../docs_src/body_nested_models/tutorial008_py39.py!} ``` //// ## 👨🎨 🐕🦺 🌐 & 👆 🤚 👨🎨 🐕🦺 🌐. 🏬 🔘 📇: <img src="/img/tutorial/body-nested-models/image01.png"> 👆 🚫 🚫 🤚 👉 😇 👨🎨 🐕🦺 🚥 👆 👷 🔗 ⏮️ `dict` ↩️ Pydantic 🏷. ✋️ 👆 🚫 ✔️ 😟 🔃 👫 👯♂️, 📨 #️⃣ 🗜 🔁 & 👆 🔢 🗜 🔁 🎻 💁♂️. ## 💪 ❌ `dict`Ⓜ
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
And it will be annotated / documented accordingly too. ## Nested Models Each attribute of a Pydantic model has a type. But that type can itself be another Pydantic model. So, you can declare deeply nested JSON "objects" with specific attribute names, types and validations. All that, arbitrarily nested. ### Define a submodel For example, we can define an `Image` model:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-nested-models.md
``` //// ## Универсальная поддержка редактора И вы получаете поддержку редактора везде. Даже для элементов внутри списков: <img src="/img/tutorial/body-nested-models/image01.png"> Вы не могли бы получить такую поддержку редактора, если бы работали напрямую с `dict`, а не с моделями Pydantic.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-nested-models.md
이를 아래처럼: ```Python hl_lines="15" {!../../docs_src/body_nested_models/tutorial008.py!} ``` ## 어디서나 편집기 지원 그리고 어디서나 편집기 지원을 받을수 있습니다. 리스트 내부 항목의 경우에도: <img src="/img/tutorial/body-nested-models/image01.png"> Pydantic 모델 대신에 `dict`를 직접 사용하여 작업할 경우, 이러한 편집기 지원을 받을수 없습니다. 하지만 수신한 딕셔너리가 자동으로 변환되고 출력도 자동으로 JSON으로 변환되므로 걱정할 필요는 없습니다. ## 단독 `dict`의 본문
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-nested-models.md
```Python hl_lines="15" {!> ../../docs_src/body_nested_models/tutorial008.py!} ``` //// ## 无处不在的编辑器支持 你可以随处获得编辑器支持。 即使是列表中的元素: <img src="https://fastapi.tiangolo.com/img/tutorial/body-nested-models/image01.png"> 如果你直接使用 `dict` 而不是 Pydantic 模型,那你将无法获得这种编辑器支持。 但是你根本不必担心这两者,传入的字典会自动被转换,你的输出也会自动被转换为 JSON。 ## 任意 `dict` 构成的请求体 你也可以将请求体声明为使用某类型的键和其他类型值的 `dict`。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
tests/transaction_test.go
if err := DB.First(&User{}, "name = ?", user2.Name).Error; err != nil { t.Fatalf("Should not find rollbacked nested record") } } func TestDisabledNestedTransaction(t *testing.T) { var ( user = *GetUser("transaction-nested", Config{}) user1 = *GetUser("transaction-nested-1", Config{}) user2 = *GetUser("transaction-nested-2", Config{}) )
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 12.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
} public void testSetFuture() throws Exception { SettableFuture<String> future = SettableFuture.create(); SettableFuture<String> nested = SettableFuture.create(); assertTrue(future.setFuture(nested)); // Later attempts to set the future should return false. assertFalse(future.set("x")); assertFalse(future.setException(new Exception("bar")));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.3K bytes - Viewed (0)