- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,367 for respond (0.07 sec)
-
docs/uk/docs/tutorial/response-model.md
І інструменти також будуть задоволені, бо і `RedirectResponse`, і `JSONResponse` є підкласами `Response`, отже анотація типу коректна. ### Анотація підкласу Response Також можна використовувати підклас `Response` у анотації типу: {* ../../docs_src/response_model/tutorial003_03.py hl[8:9] *} Це теж працюватиме, бо `RedirectResponse` — підклас `Response`, і FastAPI автоматично обробить цей простий випадок.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Jun 24 19:14:01 UTC 2025 - 24.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/response-model.md
### Возвращаем Response Самый частый сценарий использования - это [возвращать Response напрямую, как описано в расширенной документации](../advanced/response-directly.md){.internal-link target=_blank}. {* ../../docs_src/response_model/tutorial003_02.py hl[8,10:11] *} Это поддерживается FastAPI по-умолчанию, т.к. аннотация проставлена в классе (или подклассе) `Response`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 27.6K bytes - Viewed (0) -
docs/es/docs/tutorial/response-status-code.md
/// Esto hará: * Devolver ese código de estado en el response. * Documentarlo como tal en el esquema de OpenAPI (y por lo tanto, en las interfaces de usuario): <img src="/img/tutorial/response-status-code/image01.png"> /// note | Nota Algunos códigos de response (ver la siguiente sección) indican que el response no tiene un body.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/en/docs/tutorial/response-status-code.md
/// It will: * Return that status code in the response. * Document it as such in the OpenAPI schema (and so, in the user interfaces): <img src="/img/tutorial/response-status-code/image01.png"> /// note Some response codes (see the next section) indicate that the response does not have a body. FastAPI knows this, and will produce OpenAPI docs that state there is no response body. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4K bytes - Viewed (0) -
docs/ja/docs/tutorial/response-model.md
## ドキュメントを見る 自動ドキュメントを見ると、入力モデルと出力モデルがそれぞれ独自のJSON Schemaを持っていることが確認できます。 <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image01.png"> そして、両方のモデルは、対話型のAPIドキュメントに使用されます: <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image02.png"> ## レスポンスモデルのエンコーディングパラメータ レスポンスモデルにはデフォルト値を設定することができます: {* ../../docs_src/response_model/tutorial004.py hl[11,13,14] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-status-code.md
/// Dessa forma: * Este código de status será retornado na resposta. * Será documentado como tal no esquema OpenAPI (e, portanto, nas interfaces do usuário): <img src="/img/tutorial/response-status-code/image01.png"> /// note | Nota Alguns códigos de resposta (consulte a próxima seção) indicam que a resposta não possui um corpo.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-model.md
따라서 **FastAPI**는 출력 모델에서 선언하지 않은 모든 데이터를 (Pydantic을 사용하여) 필터링합니다. ## 문서에서 보기 자동 생성 문서를 보면 입력 모델과 출력 모델이 각자의 JSON 스키마를 가지고 있음을 확인할 수 있습니다: <img src="/img/tutorial/response-model/image01.png"> 그리고 두 모델 모두 대화형 API 문서에 사용됩니다: <img src="/img/tutorial/response-model/image02.png"> ## 응답 모델 인코딩 매개변수 응답 모델은 아래와 같이 기본값을 가질 수 있습니다: {* ../../docs_src/response_model/tutorial004.py hl[11,13:14] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.9K bytes - Viewed (0) -
docs/ko/docs/advanced/response-change-status-code.md
기본 [응답 상태 코드 설정](../tutorial/response-status-code.md){.internal-link target=_blank}이 가능하다는 걸 이미 알고 계실 겁니다. 하지만 경우에 따라 기본 설정과 다른 상태 코드를 반환해야 할 때가 있습니다. ## 사용 예 예를 들어 기본적으로 HTTP 상태 코드 "OK" `200`을 반환하고 싶다고 가정해 봅시다. 하지만 데이터가 존재하지 않으면 이를 새로 생성하고, HTTP 상태 코드 "CREATED" `201`을 반환하고자 할 때가 있을 수 있습니다. 이때도 여전히 `response_model`을 사용하여 반환하는 데이터를 필터링하고 변환하고 싶을 수 있습니다. 이런 경우에는 `Response` 파라미터를 사용할 수 있습니다. ## `Response` 파라미터 사용하기
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/de/docs/tutorial/response-status-code.md
/// Das wird: * Diesen Statuscode mit der Response zurücksenden. * Ihn als solchen im OpenAPI-Schema dokumentieren (und somit in den Benutzeroberflächen): <img src="/img/tutorial/response-status-code/image01.png"> /// note | Hinweis Einige Responsecodes (siehe nächster Abschnitt) kennzeichnen, dass die Response keinen Body hat.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/em/docs/advanced/response-change-status-code.md
👆 🎲 ✍ ⏭ 👈 👆 💪 ⚒ 🔢 [📨 👔 📟](../tutorial/response-status-code.md){.internal-link target=_blank}. ✋️ 💼 👆 💪 📨 🎏 👔 📟 🌘 🔢. ## ⚙️ 💼 🖼, 🌈 👈 👆 💚 📨 🇺🇸🔍 👔 📟 "👌" `200` 🔢. ✋️ 🚥 💽 🚫 🔀, 👆 💚 ✍ ⚫️, & 📨 🇺🇸🔍 👔 📟 "✍" `201`. ✋️ 👆 💚 💪 ⛽ & 🗜 💽 👆 📨 ⏮️ `response_model`. 📚 💼, 👆 💪 ⚙️ `Response` 🔢. ## ⚙️ `Response` 🔢 👆 💪 📣 🔢 🆎 `Response` 👆 *➡ 🛠️ 🔢* (👆 💪 🍪 & 🎚).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.2K bytes - Viewed (0)