- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 1,184 for asdict (0.06 sec)
-
docs/em/docs/tutorial/metadata.md
| `title` | `str` | 📛 🛠️. | | `description` | `str` | 📏 📛 🛠️. ⚫️ 💪 ⚙️ ✍. | | `version` | `string` | ⏬ 🛠️. 👉 ⏬ 👆 👍 🈸, 🚫 🗄. 🖼 `2.5.0`. | | `terms_of_service` | `str` | 📛 ⚖ 🐕🦺 🛠️. 🚥 🚚, 👉 ✔️ 📛. |
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
InputStream openStream() throws IOException; /** * Provides a user-friendly hint about the location of the source. * This could be a local file path, a URI or just an empty string. * The intention is to assist users during error reporting. * * @return a user-friendly hint about the location of the source, never {@code null} */ @Nonnull String getLocation(); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji.jsp
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp"> <jsp:param name="menuCategoryType" value="system"/> <jsp:param name="menuType" value="dict"/> </jsp:include> <div class="content-wrapper"> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Mar 27 06:24:23 UTC 2020 - 10.1K bytes - Viewed (0) -
docs/zh/docs/advanced/response-directly.md
# 直接返回响应 当你创建一个 **FastAPI** *路径操作* 时,你可以正常返回以下任意一种数据:`dict`,`list`,Pydantic 模型,数据库模型等等。 **FastAPI** 默认会使用 `jsonable_encoder` 将这些类型的返回值转换成 JSON 格式,`jsonable_encoder` 在 [JSON 兼容编码器](../tutorial/encoder.md){.internal-link target=_blank} 中有阐述。 然后,**FastAPI** 会在后台将这些兼容 JSON 的数据(比如字典)放到一个 `JSONResponse` 中,该 `JSONResponse` 会用来发送响应给客户端。 但是你可以在你的 *路径操作* 中直接返回一个 `JSONResponse`。 直接返回响应可能会有用处,比如返回自定义的响应头和 cookies。 ## 返回 `Response`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/fr/docs/advanced/additional-responses.md
Vous pouvez ajouter à votre décorateur de *paramètre de chemin* un paramètre `responses`. Il prend comme valeur un `dict` dont les clés sont des codes HTTP pour chaque réponse, comme `200`, et la valeur de ces clés sont d'autres `dict` avec des informations pour chacun d'eux. Chacun de ces `dict` de réponse peut avoir une clé `model`, contenant un modèle Pydantic, tout comme `response_model`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/ja/docs/python-types.md
* 変数`items_s`はそれぞれの項目が`bytes`型である`set`です。 #### `Dict` `dict`を宣言するためには、カンマ区切りで2つの型パラメータを渡します。 最初の型パラメータは`dict`のキーです。 2番目の型パラメータは`dict`の値です。 ```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial008.py!} ``` つまり: * 変数`prices`は`dict`であり: * この`dict`のキーは`str`型です。(つまり、各項目の名前) * この`dict`の値は`float`型です。(つまり、各項目の価格) #### `Optional`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
docs/nl/docs/python-types.md
* De variabele `items_s` is een `set`, en elk van de items is van het type `bytes`. #### Dict Om een `dict` te definiëren, geef je 2 typeparameters door, gescheiden door komma's. De eerste typeparameter is voor de sleutels (keys) van de `dict`. De tweede typeparameter is voor de waarden (values) van het `dict`: //// tab | Python 3.9+ ```Python hl_lines="1"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.3K bytes - Viewed (0) -
docs/bn/docs/python-types.md
* ভেরিয়েবল `items_s` হল একটি `set`, এবং এর প্রতিটি আইটেম হল `bytes` টাইপের। #### ডিক্ট একটি `dict` সংজ্ঞায়িত করতে, আপনি ২টি টাইপ প্যারামিটার কমা দ্বারা পৃথক করে দেবেন। প্রথম টাইপ প্যারামিটারটি হল `dict`-এর কীগুলির জন্য। দ্বিতীয় টাইপ প্যারামিটারটি হল `dict`-এর মানগুলির জন্য: //// tab | Python 3.9+ ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial008_py39.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 35.8K bytes - Viewed (0) -
tests/test_dependency_normal_exceptions.py
@app.put("/invalid-user/{user_id}") def put_invalid_user( user_id: str, name: str = Body(), db: dict = Depends(get_database) ): db[user_id] = name raise HTTPException(status_code=400, detail="Invalid user") @app.put("/user/{user_id}") def put_user(user_id: str, name: str = Body(), db: dict = Depends(get_database)): db[user_id] = name return {"message": "OK"} @pytest.fixture(autouse=True)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
Type[] typeArgs = ((ParameterizedType) fieldType.getType()).getActualTypeArguments(); assertThat(typeArgs).asList().hasSize(1); TypeVariable<?> captured = (TypeVariable<?>) typeArgs[0]; assertThat(captured.getBounds()).asList().contains(Number.class); assertThat(captured.getBounds()) .asList() .containsNoneOf(Object.class, new TypeToken<Iterable<Number>>() {}.getType());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0)