- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 152 for unionOf (0.07 sec)
-
docs/bn/docs/python-types.md
``` //// #### `Union` বা `Optional` ব্যবহার যদি আপনি Python 3.10-এর নীচের সংস্করণ ব্যবহার করেন, তবে এখানে আমার খুবই **ব্যক্তিগত** দৃষ্টিভঙ্গি থেকে একটি টিপস: * 🚨 `Optional[SomeType]` ব্যবহার এড়িয়ে চলুন। * এর পরিবর্তে ✨ **`Union[SomeType, None]` ব্যবহার করুন** ✨।
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 35.6K bytes - Viewed (0) -
docs/pt/docs/python-types.md
``` //// #### Utilizando `Union` ou `Optional` Se você está utilizando uma versão do Python abaixo da 3.10, aqui vai uma dica do meu ponto de vista bem **subjetivo**: * 🚨 Evite utilizar `Optional[SomeType]` * No lugar, ✨ **use `Union[SomeType, None]`** ✨.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 10:32:53 UTC 2024 - 17.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsTest.java
Multiset<String> ms2 = HashMultiset.create(asList("a", "b", "b", "c")); assertThat(union(ms1, ms2)).containsExactly("a", "a", "b", "b", "c"); } public void testUnionEqualMultisets() { Multiset<String> ms1 = HashMultiset.create(asList("a", "b", "a")); Multiset<String> ms2 = HashMultiset.create(asList("a", "b", "a")); assertEquals(ms1, union(ms1, ms2)); } public void testUnionEmptyNonempty() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.2K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
The same would happen if you had something like a <abbr title='A union between multiple types means "any of these types".'>union</abbr> between different types where one or more of them are not valid Pydantic types, for example this would fail 💥: {* ../../docs_src/response_model/tutorial003_04_py310.py hl[8] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 16K bytes - Viewed (0) -
docs/uk/docs/python-types.md
* Значення цього `dict` типу `float` (наприклад, ціна кожного елементу). #### Union (об'єднання) Ви можете оголосити, що змінна може бути будь-яким із **кількох типів**, наприклад, `int` або `str`. У Python 3.6 і вище (включаючи Python 3.10) ви можете використовувати тип `Union` з `typing` і вставляти в квадратні дужки можливі типи, які можна прийняти.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 19.4K bytes - Viewed (0) -
docs/pl/docs/index.md
## Przykład ### Stwórz * Utwórz plik o nazwie `main.py` z: ```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 - 19.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.idl
typedef struct { uint32_t flags; [string] wchar_t *dfs_name; } DfsInfo300; typedef struct { uint32_t count; [size_is(count)] DfsInfo300 *s; } DfsEnumArray300; typedef union { [case(1)] DfsEnumArray1 *info1; [case(3)] DfsEnumArray3 *info3; [case(200)] DfsEnumArray200 *info200; [case(300)] DfsEnumArray300 *info300; } DfsEnumInfo; typedef struct { uint32_t level,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.7K bytes - Viewed (0) -
docs/de/docs/index.md
### Erstellung * Erstellen Sie eine Datei `main.py` mit: ```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 - 21.1K bytes - Viewed (0) -
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) -
docs/ko/docs/tutorial/query-params.md
/// check | 확인 **FastAPI**는 `item_id`가 경로 매개변수이고 `q`는 경로 매개변수가 아닌 쿼리 매개변수라는 것을 알 정도로 충분히 똑똑합니다. /// /// note | 참고 FastAPI는 `q`가 `= None`이므로 선택적이라는 것을 인지합니다. `Union[str, None]`에 있는 `Union`은 FastAPI(FastAPI는 `str` 부분만 사용합니다)가 사용하는게 아니지만, `Union[str, None]`은 편집기에게 코드에서 오류를 찾아낼 수 있게 도와줍니다. /// ## 쿼리 매개변수 형변환 `bool` 형으로 선언할 수도 있고, 아래처럼 변환됩니다: {* ../../docs_src/query_params/tutorial003.py hl[9] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.2K bytes - Viewed (0)