- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 980 for tutorial008_py310 (0.08 seconds)
-
docs/en/docs/tutorial/response-model.md
We can instead create an input model with the plaintext password and an output model without it: {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Here, even though our *path operation function* is returning the same input user that contains the password: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...we declared the `response_model` to be our model `UserOut`, that doesn't include the password:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K 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/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) -
docs/uk/docs/tutorial/extra-models.md
/// ## Кілька моделей { #multiple-models } Ось загальна ідея того, як можуть виглядати моделі з їхніми полями пароля та місцями використання: {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *} ### Про `**user_in.model_dump()` { #about-user-in-model-dump } #### `.model_dump()` у Pydantic { #pydantics-model-dump } `user_in` - це модель Pydantic класу `UserIn`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 9.4K bytes - Click Count (0) -
docs/es/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Aquí, aunque nuestra *path operation function* está devolviendo el mismo usuario de entrada que contiene la contraseña: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...hemos declarado el `response_model` para ser nuestro modelo `UserOut`, que no incluye la contraseña:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 17.1K bytes - Click Count (0) -
docs/de/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Obwohl unsere *Pfadoperation-Funktion* hier denselben `user` von der Eingabe zurückgibt, der das Passwort enthält: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ... haben wir deklariert, dass `response_model` das Modell `UserOut` ist, welches das Passwort nicht enthält:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 17.5K bytes - Click Count (0) -
docs/de/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial005_py310.py hl[17] *} #### *Enumerations-Wert* erhalten { #get-the-enumeration-value } Den tatsächlichen Wert (in diesem Fall ein `str`) erhalten Sie via `model_name.value`, oder generell, `your_enum_member.value`: {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *} /// tip | TippCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 10K bytes - Click Count (0) -
docs/zh-hant/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:05:38 GMT 2026 - 10.3K bytes - Click Count (0) -
docs/tr/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial005_py310.py hl[17] *} #### *Enumeration Value*'yu Alalım { #get-the-enumeration-value } Gerçek değeri (bu durumda bir `str`) `model_name.value` ile veya genel olarak `your_enum_member.value` ile alabilirsiniz: {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *} /// tip | İpucuCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 9.7K bytes - Click Count (0)