- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 794 for py (0.02 sec)
-
docs/ko/docs/advanced/response-cookies.md
# 응답 쿠키 ## `Response` 매개변수 사용하기 *경로 작동 함수*에서 `Response` 타입의 매개변수를 선언할 수 있습니다. 그런 다음 해당 *임시* 응답 객체에서 쿠키를 설정할 수 있습니다. {* ../../docs_src/response_cookies/tutorial002.py hl[1,8:9] *} 그런 다음 필요한 객체(`dict`, 데이터베이스 모델 등)를 반환할 수 있습니다. 그리고 `response_model`을 선언했다면 반환한 객체를 거르고 변환하는 데 여전히 사용됩니다. **FastAPI**는 그 *임시* 응답에서 쿠키(또한 헤더 및 상태 코드)를 추출하고, 반환된 값이 포함된 최종 응답에 이를 넣습니다. 이 값은 `response_model`로 걸러지게 됩니다.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.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/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/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/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/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/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/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)