Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for UserOut (0.09 sec)

  1. docs/en/docs/tutorial/response-model.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="24"
    {!> ../../docs_src/response_model/tutorial003.py!}
    ```
    
    ////
    
    ...we declared the `response_model` to be our model `UserOut`, that doesn't include the password:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="22"
    {!> ../../docs_src/response_model/tutorial003_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/response-model.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="24"
    {!> ../../docs_src/response_model/tutorial003.py!}
    ```
    
    ////
    
    ...мы указали в `response_model` модель `UserOut`, в которой отсутствует поле, содержащее пароль - и он будет исключен из ответа:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="22"
    {!> ../../docs_src/response_model/tutorial003_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/response-model.md

    {!../../docs_src/response_model/tutorial003.py!}
    ```
    
    여기서 *경로 작동 함수*가 비밀번호를 포함하는 동일한 입력 사용자를 반환할지라도:
    
    ```Python hl_lines="24"
    {!../../docs_src/response_model/tutorial003.py!}
    ```
    
    ...`response_model`을 `UserOut` 모델로 선언했기 때문에 비밀번호를 포함하지 않습니다:
    
    ```Python hl_lines="22"
    {!../../docs_src/response_model/tutorial003.py!}
    ```
    
    따라서 **FastAPI**는 출력 모델에서 선언하지 않은 모든 데이터를 (Pydantic을 사용하여) 필터링합니다.
    
    ## 문서에서 보기
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/response-model.md

    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    ```Python hl_lines="24"
    {!> ../../docs_src/response_model/tutorial003_py310.py!}
    ```
    
    ////
    
    ...👥 📣 `response_model` 👆 🏷 `UserOut`, 👈 🚫 🔌 🔐:
    
    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="22"
    {!> ../../docs_src/response_model/tutorial003.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/response-model.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="24"
    {!> ../../docs_src/response_model/tutorial003.py!}
    ```
    
    ////
    
    ... haben wir deklariert, dass `response_model` das Modell `UserOut` ist, welches das Passwort nicht enthält:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="22"
    {!> ../../docs_src/response_model/tutorial003_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/response-model.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="24"
    {!> ../../docs_src/response_model/tutorial003.py!}
    ```
    
    ////
    
    ...我们已经将 `response_model` 声明为了不包含密码的 `UserOut` 模型:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="22"
    {!> ../../docs_src/response_model/tutorial003_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="22"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/response-model.md

    {!../../docs_src/response_model/tutorial003.py!}
    ```
    
    ここでは、*path operation関数*がパスワードを含む同じ入力ユーザーを返しているにもかかわらず:
    
    ```Python hl_lines="24"
    {!../../docs_src/response_model/tutorial003.py!}
    ```
    
    ...`response_model`を`UserOut`と宣言したことで、パスワードが含まれていません:
    
    ```Python hl_lines="22"
    {!../../docs_src/response_model/tutorial003.py!}
    ```
    
    そのため、**FastAPI** は出力モデルで宣言されていない全てのデータをフィルタリングしてくれます(Pydanticを使用)。
    
    ## ドキュメントを見る
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top