- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 794 for py$ (0.01 sec)
-
docs/ko/docs/tutorial/extra-models.md
{* ../../docs_src/extra_models/tutorial004_py39.py hl[18] *} ## 임의의 `dict` 응답 Pydantic 모델을 사용하지 않고, 키와 값의 타입만 선언하여 평범한 임의의 `dict`로 응답을 선언할 수도 있습니다. 이는 Pydantic 모델에 필요한 유효한 필드/속성 이름을 사전에 알 수 없는 경우에 유용합니다. 이 경우, `typing.Dict`를 사용할 수 있습니다(또는 Python 3.9 이상에서는 단순히 `dict`를 사용할 수 있습니다): {* ../../docs_src/extra_models/tutorial005_py39.py hl[6] *} ## 요약Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 13:38:33 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-updates.md
これを使うことで、デフォルト値を省略して、設定された(リクエストで送られた)データのみを含む`dict`を生成することができます: {* ../../docs_src/body_updates/tutorial002.py hl[34] *} ### Pydanticの`update`パラメータ ここで、`.copy()`を用いて既存のモデルのコピーを作成し、`update`パラメータに更新するデータを含む`dict`を渡すことができます。 `stored_item_model.copy(update=update_data)`のように: {* ../../docs_src/body_updates/tutorial002.py hl[35] *} ### 部分的更新のまとめ まとめると、部分的な更新を適用するには、次のようにします: * (オプションで)`PUT`の代わりに`PATCH`を使用します。Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5K bytes - Viewed (0) -
docs/en/docs/advanced/sub-applications.md
{* ../../docs_src/sub_applications/tutorial001.py hl[3, 6:8] *} ### Sub-application { #sub-application } Then, create your sub-application, and its *path operations*. This sub-application is just another standard FastAPI application, but this is the one that will be "mounted": {* ../../docs_src/sub_applications/tutorial001.py hl[11, 14:16] *} ### Mount the sub-application { #mount-the-sub-application }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3K bytes - Viewed (0) -
docs/em/docs/advanced/events.md
🥇 👜 👀, 👈 👥 ⚖ 🔁 🔢 ⏮️ `yield`. 👉 📶 🎏 🔗 ⏮️ `yield`. {* ../../docs_src/events/tutorial003.py hl[14:19] *} 🥇 🍕 🔢, ⏭ `yield`, 🔜 🛠️ **⏭** 🈸 ▶️. & 🍕 ⏮️ `yield` 🔜 🛠️ **⏮️** 🈸 ✔️ 🏁. ### 🔁 🔑 👨💼 🚥 👆 ✅, 🔢 🎀 ⏮️ `@asynccontextmanager`. 👈 🗜 🔢 🔘 🕳 🤙 "**🔁 🔑 👨💼**". {* ../../docs_src/events/tutorial003.py hl[1,13] *} **🔑 👨💼** 🐍 🕳 👈 👆 💪 ⚙️ `with` 📄, 🖼, `open()` 💪 ⚙️ 🔑 👨💼:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6K bytes - Viewed (0) -
docs/em/docs/deployment/docker.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 27.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md
그래서, 우리는 위 예제에서의 `common_paramenters` 의존성을 클래스 `CommonQueryParams`로 바꿀 수 있습니다. {* ../../docs_src/dependencies/tutorial002.py hl[11:15] *} 클래스의 인스턴스를 생성하는 데 사용되는 `__init__` 메서드에 주목하기 바랍니다: {* ../../docs_src/dependencies/tutorial002.py hl[12] *} ...이전 `common_parameters`와 동일한 매개변수를 가집니다: {* ../../docs_src/dependencies/tutorial001.py hl[9] *} 이 매개변수들은 **FastAPI**가 의존성을 "해결"하기 위해 사용할 것입니다 함수와 클래스 두 가지 방식 모두, 아래 요소를 갖습니다:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.7K bytes - Viewed (0) -
docs/fr/docs/advanced/additional-responses.md
Par exemple, pour déclarer une autre réponse avec un code HTTP `404` et un modèle Pydantic `Message`, vous pouvez écrire : {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *} /// note | Remarque Gardez à l'esprit que vous devez renvoyer directement `JSONResponse`. /// /// info La clé `model` ne fait pas partie d'OpenAPI.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/ja/docs/environment-variables.md
<div class="termy"> ```console // Here we don't set the env var yet $ python main.py // As we didn't set the env var, we get the default value Hello World from Python // But if we create an environment variable first $ export MY_NAME="Wade Wilson" // And then call the program again $ python main.py // Now it can read the environment variable Hello Wade Wilson from Python ``` </div>
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Jan 27 15:39:04 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/em/docs/tutorial/extra-data-types.md
## 🖼 📥 🖼 *➡ 🛠️* ⏮️ 🔢 ⚙️ 🔛 🆎. {* ../../docs_src/extra_data_types/tutorial001.py hl[1,3,12:16] *} 🗒 👈 🔢 🔘 🔢 ✔️ 👫 🐠 💽 🆎, & 👆 💪, 🖼, 🎭 😐 📅 🎭, 💖:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/de/docs/advanced/response-headers.md
Und dann können Sie Header in diesem *vorübergehenden* Response-Objekt festlegen. {* ../../docs_src/response_headers/tutorial002.py hl[1,7:8] *} Anschließend können Sie wie gewohnt jedes gewünschte Objekt zurückgeben (ein `dict`, ein Datenbankmodell, usw.).Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.6K bytes - Viewed (2)