- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 157 for union (0.04 seconds)
-
docs/tr/docs/tutorial/response-model.md
Response model’inizde şu şekilde default değerler olabilir: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None` (veya Python 3.10’da `str | None = None`) için default `None`’dır. * `tax: float = 10.5` için default `10.5`’tir. * `tags: List[str] = []` için default, boş bir list’tir: `[]`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 17K bytes - Click Count (0) -
docs/pt/docs/tutorial/response-model.md
Seu modelo de resposta pode ter valores padrão, como: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None` (ou `str | None = None` no Python 3.10) tem um padrão de `None`. * `tax: float = 10.5` tem um padrão de `10.5`. * `tags: List[str] = []` tem um padrão de uma lista vazia: `[]`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 16.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/response-model.md
## 响应模型的编码参数 { #response-model-encoding-parameters } 你的响应模型可以具有默认值,例如: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None`(或在 Python 3.10 中的 `str | None = None`)默认值为 `None`。 * `tax: float = 10.5` 默认值为 `10.5`。 * `tags: List[str] = []` 默认值为一个空列表:`[]`。 但如果它们并没有被实际存储,你可能希望在结果中省略这些默认值。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 14.5K bytes - Click Count (0) -
docs/ja/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_04_py310.py hl[8] *} ...これは、型アノテーションがPydantic型ではなく、単一の `Response` クラス(またはサブクラス)でもないために失敗します。`Response` と `dict` の間のunion(どちらか)になっているからです。 ### レスポンスモデルを無効化する { #disable-response-model } 上の例を続けると、FastAPIが実行するデフォルトのデータ検証、ドキュメント化、フィルタリングなどを行いたくないこともあるでしょう。 しかし、エディタや型チェッカー(例: mypy)などのツール支援を得るために、関数の戻り値の型アノテーションは残したいかもしれません。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 19.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThat(removalNotifications.get("b" + i)).isEqualTo("b" + i); } // Each of the values added to the map should either still be there, or have seen a removal // notification. assertThat(Sets.union(cache.asMap().keySet(), removalNotifications.keySet())) .isEqualTo(expectedKeys); assertThat(cache.asMap().keySet()).containsNoneIn(removalNotifications.keySet()); threadPool.shutdown();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThat(removalNotifications.get("b" + i)).isEqualTo("b" + i); } // Each of the values added to the map should either still be there, or have seen a removal // notification. assertThat(Sets.union(cache.asMap().keySet(), removalNotifications.keySet())) .isEqualTo(expectedKeys); assertThat(cache.asMap().keySet()).containsNoneIn(removalNotifications.keySet()); threadPool.shutdown();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.36.md
- Correct openapi schema union validation for the PodGroupPolicy struct in scheduling v1alpha1 ([#136424](https://github.com/kubernetes/kubernetes/pull/136424), [@JoelSpeed](https://github.com/JoelSpeed)) [SIG API Machinery and Scheduling]
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Mar 19 23:38:00 GMT 2026 - 142.1K bytes - Click Count (0) -
src/cmd/api/main_test.go
list := make([]string, 0, n) for i := 0; i < n; i++ { emb := typ.EmbeddedType(i) switch emb := emb.(type) { case *types.Interface: list = append(list, w.sortedEmbeddeds(emb)...) case *types.Union: var buf bytes.Buffer nu := emb.Len() for i := 0; i < nu; i++ { if i > 0 { buf.WriteString(" | ") } term := emb.Term(i) if term.Tilde() { buf.WriteByte('~')
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 31.4K bytes - Click Count (0) -
cmd/iam-store.go
if _, found := cache.iamPolicyDocsMap[p]; !found { err = errNoSuchPolicy return updatedAt, addedOrRemoved, effectivePolicies, err } } newPolicySet = existingPolicySet.Union(policiesToUpdate) } else { // policies to detach => inputPolicies ∩ existing (intersection) policiesToUpdate = policiesToUpdate.Intersection(existingPolicySet)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 87.1K bytes - Click Count (0) -
okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
hk.com inc.hk ltd.hk hk.org // UK Intis Telecom LTD : https://it.com // Submitted by ITComdomains <******@****.***> it.com // Unison Computing, PBC : https://unison.cloud // Submitted by Simon Højberg <security@unison.cloud> unison-services.cloud // United Gameserver GmbH : https://united-gameserver.de // Submitted by Stefan Schwarz <******@****.***> virtual-user.de
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 309.7K bytes - Click Count (1)