- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 219 for neste (0.05 sec)
-
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/preload_test.go
} var find1 Value err := DB.Joins("Nested").Joins("Nested.Join").Preload("Nested.Preloads").First(&find1, value1.ID).Error if err != nil { t.Errorf("failed to find value, got err: %v", err) } AssertEqual(t, find1, value1) var find2 Value // Joins will automatically add Nested queries. err = DB.Joins("Nested.Join").Preload("Nested.Preloads").First(&find2, value2.ID).Error if err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
docs/pt/docs/advanced/async-tests.md
Vamos ver como nós podemos fazer isso funcionar. ## pytest.mark.anyio Se quisermos chamar funções assíncronas em nossos testes, as nossas funções de teste precisam ser assíncronas. O AnyIO oferece um plugin bem legal para isso, que nos permite especificar que algumas das nossas funções de teste precisam ser chamadas de forma assíncrona. ## HTTPX
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.4K 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) -
tests/joins_test.go
users := []User{ { Name: "nested-joins-1", Manager: &User{ Name: "nested-joins-manager-1", Company: Company{ Name: "nested-joins-manager-company-1", }, NamedPet: &Pet{ Name: "nested-joins-manager-namepet-1", Toy: Toy{ Name: "nested-joins-manager-namepet-toy-1", }, }, },
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:58:13 UTC 2024 - 15K 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) -
src/cmd/asm/internal/lex/lex_test.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 5.8K bytes - Viewed (0) -
internal/hash/reader_test.go
"88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589", }, }, { desc: "Nested hash reader NewReader() should merge.", src: mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "", 4), size: 4, actualSize: 4, }, { desc: "Incorrect sha256, nested", src: mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "", 4), size: 4, actualSize: 4,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 10.3K bytes - Viewed (0) -
android/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) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
If the nested type is a managed type (Gradle can generate its implementation), you can define a nested property with: ``` interface NestedType { Property<String> getSomeProperty() } class Example { @Nested NestedType getNestedProperty() } ```
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 15 20:00:57 UTC 2024 - 10K bytes - Viewed (0)