- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 155 for unionOf (0.04 sec)
-
docs/en/docs/tutorial/body.md
/// note FastAPI will know that the value of `q` is not required because of the default value `= None`. The `str | None` (Python 3.10+) or `Union` in `Union[str, None]` (Python 3.8+) is not used by FastAPI to determine that the value is not required, it will know it's not required because it has a default value of `= None`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:58:56 UTC 2025 - 7.1K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
q: str | None = None ``` //// //// tab | Python 3.8+ ```Python q: Union[str, None] = None ``` //// What we will do is wrap that with `Annotated`, so it becomes: //// tab | Python 3.10+ ```Python q: Annotated[str | None] = None ``` //// //// tab | Python 3.8+ ```Python q: Annotated[Union[str, None]] = None ``` ////
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
} @Override public void decode_out(NdrBuffer _src) throws NdrException { this.level = _src.dec_ndr_long(); _src.dec_ndr_long(); /* union discriminant */ final int _infop = _src.dec_ndr_long(); if (_infop != 0) { if (this.info == null) { /* YOYOYO */ this.info = new ShareInfoCtr0();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 27K bytes - Viewed (0) -
docs/ja/docs/tutorial/query-params-str-validations.md
## 必須にする これ以上、バリデーションやメタデータを宣言する必要のない場合は、デフォルト値を指定しないだけでクエリパラメータ`q`を必須にすることができます。以下のように: ```Python q: str ``` 以下の代わりに: ```Python q: Union[str, None] = None ``` 現在は以下の例のように`Query`で宣言しています: ```Python q: Union[str, None] = Query(default=None, min_length=3) ``` そのため、`Query`を使用して必須の値を宣言する必要がある場合は、第一引数に`...`を使用することができます:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.2K bytes - Viewed (0) -
docs/uk/docs/tutorial/body-multiple-params.md
Оскільки за замовчуванням окремі значення інтерпретуються як параметри запиту, Вам не потрібно явно додавати `Query`, можна просто використати: ```Python q: Union[str, None] = None ``` Або в Python 3.10 та вище: ```Python q: str | None = None ``` Наприклад: {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Feb 28 14:19:00 UTC 2025 - 7.4K bytes - Viewed (0) -
docs/ko/docs/tutorial/body.md
* 만약 매개변수가 **Pydantic 모델** 타입으로 선언되어 있으면, 요청 **본문**으로 해석될 것입니다. /// note | 참고 FastAPI는 `q`의 값이 필요없음을 알게 될 것입니다. 기본 값이 `= None`이기 때문입니다. `Union[str, None]`에 있는 `Union`은 FastAPI에 의해 사용된 것이 아니지만, 편집기로 하여금 더 나은 지원과 에러 탐지를 지원할 것입니다. /// ## Pydantic없이
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/fa/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 - 26K bytes - Viewed (0) -
docs/em/docs/tutorial/body-multiple-params.md
} ``` 🔄, ⚫️ 🔜 🗜 📊 🆎, ✔, 📄, ♒️. ## 💗 💪 = & 🔢 ↗️, 👆 💪 📣 🌖 🔢 🔢 🕐❔ 👆 💪, 🌖 🙆 💪 🔢. , 🔢, ⭐ 💲 🔬 🔢 🔢, 👆 🚫 ✔️ 🎯 🚮 `Query`, 👆 💪: ```Python q: Union[str, None] = None ``` ⚖️ 🐍 3️⃣.1️⃣0️⃣ & 🔛: ```Python q: str | None = None ``` 🖼: {* ../../docs_src/body_multiple_params/tutorial004.py hl[27] *} /// info
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/es/docs/tutorial/body-multiple-params.md
Como, por defecto, los valores singulares se interpretan como parámetros de query, no tienes que añadir explícitamente un `Query`, solo puedes hacer: ```Python q: Union[str, None] = None ``` O en Python 3.10 y superior: ```Python q: str | None = None ``` Por ejemplo: {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 5K bytes - Viewed (0) -
guava/src/com/google/common/graph/Network.java
// // Element-level accessors // /** * Returns a live view of the nodes which have an incident edge in common with {@code node} in * this graph. * * <p>This is equal to the union of {@link #predecessors(Object)} and {@link #successors(Object)}. * * <p>If {@code node} is removed from the network after this method is called, the {@code Set}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:03:02 UTC 2025 - 22.5K bytes - Viewed (0)