- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 980 for tutorial005_py310 (1.17 seconds)
-
docs/uk/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } Приймає текст або байти та повертає HTML-відповідь, як описано вище. ### `PlainTextResponse` { #plaintextresponse } Приймає текст або байти та повертає відповідь звичайним текстом. {* ../../docs_src/custom_response/tutorial005_py310.py hl[2,7,9] *} ### `JSONResponse` { #jsonresponse }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 17K bytes - Click Count (0) -
docs/fr/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } Prend du texte ou des octets et renvoie une réponse HTML, comme vous l'avez vu ci-dessus. ### `PlainTextResponse` { #plaintextresponse } Prend du texte ou des octets et renvoie une réponse en texte brut. {* ../../docs_src/custom_response/tutorial005_py310.py hl[2,7,9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 12.3K bytes - Click Count (0) -
docs/ko/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } 텍스트 또는 바이트를 받아 HTML 응답을 반환합니다. 위에서 설명한 내용과 같습니다. ### `PlainTextResponse` { #plaintextresponse } 텍스트 또는 바이트를 받아 일반 텍스트 응답을 반환합니다. {* ../../docs_src/custom_response/tutorial005_py310.py hl[2,7,9] *} ### `JSONResponse` { #jsonresponse }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 12.4K bytes - Click Count (0) -
docs/ja/docs/tutorial/query-params.md
そして特定の順序で宣言しなくてもよいです。 名前で判別されます: {* ../../docs_src/query_params/tutorial004_py310.py hl[6,8] *} ## 必須のクエリパラメータ { #required-query-parameters } パスパラメータ以外のパラメータ (今のところ、クエリパラメータのみ見てきました) のデフォルト値を宣言した場合、そのパラメータは必須ではなくなります。 特定の値を与えずにただオプショナルにしたい場合はデフォルト値を `None` にして下さい。 しかしクエリパラメータを必須にしたい場合は、ただデフォルト値を宣言しなければよいです: {* ../../docs_src/query_params/tutorial005_py310.py hl[6:7] *} ここで、クエリパラメータ `needy` は `str` 型の必須のクエリパラメータです。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.6K bytes - Click Count (0) -
docs/ko/docs/tutorial/handling-errors.md
`RequestValidationError`에는 유효하지 않은 데이터와 함께 받은 `body`가 포함됩니다. 앱을 개발하는 동안 body를 로그로 남기고 디버그하거나, 사용자에게 반환하는 등으로 사용할 수 있습니다. {* ../../docs_src/handling_errors/tutorial005_py310.py hl[14] *} 이제 다음처럼 유효하지 않은 item을 보내보세요: ```JSON { "title": "towel", "size": "XL" } ``` 받은 body를 포함해 데이터가 유효하지 않다고 알려주는 응답을 받게 됩니다: ```JSON hl_lines="12-15" {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 10.2K bytes - Click Count (0) -
docs/zh/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } 如上文所述,接受文本或字节并返回 HTML 响应。 ### `PlainTextResponse` { #plaintextresponse } 接受文本或字节并返回纯文本响应。 {* ../../docs_src/custom_response/tutorial005_py310.py hl[2,7,9] *} ### `JSONResponse` { #jsonresponse } 接受数据并返回一个 `application/json` 编码的响应。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Aqui, embora nossa *função de operação de rota* esteja retornando o mesmo usuário de entrada que contém a senha: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...declaramos o `response_model` como nosso modelo `UserOut`, que não inclui a senha: {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 16.7K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/handling-errors.md
但若你在進階情境中需要,可以這樣加入自訂標頭: {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *} ## 安裝自訂例外處理器 { #install-custom-exception-handlers } 你可以使用 [Starlette 的相同例外工具](https://www.starlette.dev/exceptions/) 來加入自訂例外處理器。 假設你有一個自訂例外 `UnicornException`,你(或你使用的函式庫)可能會 `raise` 它。 而你想用 FastAPI 全域處理這個例外。 你可以使用 `@app.exception_handler()` 加入自訂例外處理器: {* ../../docs_src/handling_errors/tutorial003_py310.py hl[5:7,13:18,24] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.3K bytes - Click Count (0) -
docs/pt/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } Usa algum texto ou sequência de bytes e retorna uma resposta HTML. Como você leu acima. ### `PlainTextResponse` { #plaintextresponse } Usa algum texto ou sequência de bytes para retornar uma resposta de texto não formatado. {* ../../docs_src/custom_response/tutorial005_py310.py hl[2,7,9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 12K bytes - Click Count (0) -
docs/tr/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Burada *path operation function* password içeren aynı input user’ı döndürüyor olsa bile: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...`response_model` olarak, password’ü içermeyen `UserOut` modelimizi declare ettik: {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 17K bytes - Click Count (0)