- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 108 for union (0.07 sec)
-
docs/es/docs/tutorial/extra-models.md
/// {* ../../docs_src/extra_models/tutorial003_py310.py hl[1,14:15,18:20,33] *} ### `Union` en Python 3.10Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/em/docs/tutorial/extra-models.md
## `Union` โ๏ธ `anyOf` ๐ ๐ช ๐ฃ ๐จ `Union` 2๏ธโฃ ๐, ๐ โ, ๐ ๐จ ๐ ๐ 2๏ธโฃ. โซ๏ธ ๐ ๐ฌ ๐ โฎ๏ธ `anyOf`. ๐, โ๏ธ ๐ฉ ๐ ๐ ๐ <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: /// note
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.7K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
## `Union` or `anyOf` { #union-or-anyof } You can declare a response to be the `Union` of two or more types, that means, that the response would be any of them. It will be defined in OpenAPI with `anyOf`. To do that, use the standard Python type hint <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: /// noteRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.2K bytes - Viewed (0) -
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) -
docs/de/docs/tutorial/extra-models.md
/// note | Hinweis
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.8K 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) -
docs/pt/docs/tutorial/extra-models.md
/// {* ../../docs_src/extra_models/tutorial003.py hl[1,14:15,18:20,33] *} ### `Union` no Python 3.10Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-models.md
/// {* ../../docs_src/extra_models/tutorial003_py310.py hl[1,14:15,18:20,33] *} ### `Union` ะฒ Python 3.10Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.6K 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) -
docs/en/docs/python-types.md
``` //// #### Using `Union` or `Optional` { #using-union-or-optional } If you are using a Python version below 3.10, here's a tip from my very **subjective** point of view: * ๐จ Avoid using `Optional[SomeType]` * Instead โจ **use `Union[SomeType, None]`** โจ.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.1K bytes - Viewed (0)