- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 152 for unionOf (0.03 sec)
-
docs/nl/docs/python-types.md
* `dict` Hetzelfde als bij Python 3.8, uit de `typing`-module: * `Union` * `Optional` (hetzelfde als bij Python 3.8) * ...en anderen. In Python 3.10 kun je , als alternatief voor de generieke `Union` en `Optional`, de <abbr title='ook wel "bitwise or operator" genoemd, maar die betekenis is hier niet relevant'>verticale lijn (`|`)</abbr> gebruiken om unions van typen te voorzien, dat is veel beter en eenvoudiger. ////
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 18.1K bytes - Viewed (0) -
docs/ko/docs/tutorial/extra-models.md
/// {* ../../docs_src/extra_models/tutorial003_py310.py hl[1,14:15,18:20,33] *} ### Python 3.10에서 `Union` 위의 예제에서는 `response_model` 인자 값으로 `Union[PlaneItem, CarItem]`을 전달합니다.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 13:38:33 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/de/docs/python-types.md
#### <abbr title="Union – Verbund, Einheit‚ Vereinigung: Eines von Mehreren">Union</abbr> Sie können deklarieren, dass eine Variable einer von **verschiedenen Typen** sein kann, zum Beispiel ein `int` oder ein `str`. In Python 3.6 und höher (inklusive Python 3.10) können Sie den `Union`-Typ von `typing` verwenden und die möglichen Typen innerhalb der eckigen Klammern auflisten.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 18.9K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
assertMinSize(union(emptySet(), emptySet()), 0); assertMinSize(union(setSize(2), setSize(3)), 3); assertMinSize(union(setSize(3), setSize(2)), 3); assertMinSize(union(setSizeRange(10, 20), setSizeRange(11, 12)), 11); assertMinSize(union(setSizeRange(11, 12), setSizeRange(10, 20)), 11); } public void testUnion_maxSize() { assertMaxSize(union(emptySet(), emptySet()), 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
.gitattributes
# Always check-out / check-in files with LF line endings. * text=auto eol=lf hack/verify-flags/known-flags.txt merge=union test/test_owners.csv merge=union **/zz_generated.*.go linguist-generated=true **/types.generated.go linguist-generated=true **/generated.pb.go linguist-generated=true **/generated.proto **/types_swagger_doc_generated.go linguist-generated=true api/openapi-spec/*.json linguist-generated=true
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Mon Oct 28 20:33:50 UTC 2024 - 510 bytes - Viewed (0) -
docs/uk/docs/index.md
## Приклад ### Створіть * Створіть файл `main.py` з: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1">
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 24.2K bytes - Viewed (0) -
docs/em/docs/tutorial/query-params-str-validations.md
➡️ ✊ 👉 🈸 🖼: {* ../../docs_src/query_params_str_validations/tutorial001.py hl[9] *} 🔢 🔢 `q` 🆎 `Union[str, None]` (⚖️ `str | None` 🐍 3️⃣.1️⃣0️⃣), 👈 ⛓ 👈 ⚫️ 🆎 `str` ✋️ 💪 `None`, & 👐, 🔢 💲 `None`, FastAPI 🔜 💭 ⚫️ 🚫 ✔. /// note FastAPI 🔜 💭 👈 💲 `q` 🚫 ✔ ↩️ 🔢 💲 `= None`. `Union` `Union[str, None]` 🔜 ✔ 👆 👨🎨 🤝 👆 👍 🐕🦺 & 🔍 ❌. /// ## 🌖 🔬
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Feb 15 16:23:59 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
import static com.google.common.collect.Multisets.difference; import static com.google.common.collect.Multisets.intersection; import static com.google.common.collect.Multisets.sum; import static com.google.common.collect.Multisets.union; import static com.google.common.collect.Multisets.unmodifiableMultiset; import static java.util.Arrays.asList; import static java.util.Collections.sort; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.idl
typedef struct { int count; [size_is(count)] ShareInfo502 *array; } ShareInfoCtr502; typedef [switch_type(int)] union { [case(0)] ShareInfo0 *info0; [case(1)] ShareInfo1 *info1; [case(502)] ShareInfo502 *info1; } ShareInfo; typedef [switch_type(int)] union { [case(0)] ShareInfoCtr0 *info0; [case(1)] ShareInfoCtr1 *info1; [case(502)] ShareInfoCtr502 *info1; } ShareCtr; [op(0x0f)]
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
```Python q: str ``` вместо: ```Python q: Union[str, None] = None ``` Но у нас query-параметр определён как `Query`. Например: //// tab | Annotated ```Python q: Annotated[Union[str, None], Query(min_length=3)] = None ``` //// //// tab | без Annotated ```Python q: Union[str, None] = Query(default=None, min_length=3) ``` ////
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Feb 15 16:23:59 UTC 2025 - 24K bytes - Viewed (0)