- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,574 for None (0.03 sec)
-
README.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @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} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 15:19:49 UTC 2025 - 24.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java
* Returns the range of this constraint, or {@code null} if none. * <p> * Note: only one, this method or {@link #getRecommendedVersion()} method must return non-{@code null} value. */ @Nullable VersionRange getVersionRange(); /** * Returns the recommended version of this constraint, or {@code null} if none. * <p>Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.4K bytes - Viewed (0) -
docs/vi/docs/python-types.md
`Optional[Something]` là một cách viết ngắn gọn của `Union[Something, None]`, chúng là tương đương nhau. Điều này cũng có nghĩa là trong Python 3.10, bạn có thể sử dụng `Something | None`: //// tab | Python 3.10+ ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial009_py310.py!} ```Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 21.5K bytes - Viewed (0) -
docs/em/docs/tutorial/query-params.md
http://127.0.0.1:8000/items/?skip=20 ``` 🔢 💲 👆 🔢 🔜: * `skip=20`: ↩️ 👆 ⚒ ⚫️ 📛 * `limit=10`: ↩️ 👈 🔢 💲 ## 📦 🔢 🎏 🌌, 👆 💪 📣 📦 🔢 🔢, ⚒ 👫 🔢 `None`: {* ../../docs_src/query_params/tutorial002.py hl[9] *} 👉 💼, 🔢 🔢 `q` 🔜 📦, & 🔜 `None` 🔢. /// check 👀 👈 **FastAPI** 🙃 🥃 👀 👈 ➡ 🔢 `item_id` ➡ 🔢 & `q` 🚫,, ⚫️ 🔢 🔢. /// ## 🔢 🔢 🆎 🛠️Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
You would have **one single `engine` object** for all your code to connect to the same database. {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[14:18] hl[14:15,17:18] *} Using `check_same_thread=False` allows FastAPI to use the same SQLite database in different threads. This is necessary as **one single request** could use **more than one thread** (for example in dependencies).Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 15.4K bytes - Viewed (0) -
docs/fr/docs/tutorial/query-params.md
## Paramètres optionnels De la même façon, vous pouvez définir des paramètres de requête comme optionnels, en leur donnant comme valeur par défaut `None` : {* ../../docs_src/query_params/tutorial002.py hl[9] *} Ici, le paramètre `q` sera optionnel, et aura `None` comme valeur par défaut. /// check | RemarqueRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params.md
## Parâmetros opcionais Da mesma forma, você pode declarar parâmetros de consulta opcionais, definindo o valor padrão para `None`: {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *} Nesse caso, o parâmetro da função `q` será opcional, e `None` será o padrão. /// check | VerificarRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.9K bytes - Viewed (0) -
docs/es/docs/tutorial/response-model.md
Tu modelo de response podría tener valores por defecto, como: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None` (o `str | None = None` en Python 3.10) tiene un valor por defecto de `None`. * `tax: float = 10.5` tiene un valor por defecto de `10.5`. * `tags: List[str] = []` tiene un valor por defecto de una lista vacía: `[]`.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 17K bytes - Viewed (0) -
docs/tr/docs/tutorial/query-params.md
* `limit=10`: çünkü varsayılan değer buydu. ## İsteğe Bağlı Parametreler Aynı şekilde, varsayılan değerlerini `None` olarak atayarak isteğe bağlı parametreler tanımlayabilirsiniz: {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *} Bu durumda, `q` fonksiyon parametresi isteğe bağlı olacak ve varsayılan değer olarak `None` alacaktır. /// check | Ek bilgiRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
} catch (final UnsupportedEncodingException e) { throw new UnsupportedEncodingRuntimeException(e); } } /** * Polls an encryption cipher from the queue, creating a new one if none are available. * * @return an encryption cipher */ protected Cipher pollEncryptoCipher() { Cipher cipher = encryptoQueue.poll(); if (cipher == null) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 11.5K bytes - Viewed (0)