Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for 22 (0.17 sec)

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

    여기서 *경로 작동 함수*가 비밀번호를 포함하는 동일한 입력 사용자를 반환할지라도:
    
    ```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을 사용하여) 필터링합니다.
    
    ## 문서에서 보기
    
    자동 생성 문서를 보면 입력 모델과 출력 모델이 각자의 JSON 스키마를 가지고 있음을 확인할 수 있습니다:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/response-model.md

    === "Python 3.10+"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/response_model/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/response_model/tutorial003.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 30.5K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/response-model.md

    ... haben wir deklariert, dass `response_model` das Modell `UserOut` ist, welches das Passwort nicht enthält:
    
    === "Python 3.10+"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/response_model/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/response_model/tutorial003.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:26:58 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/response-model.md

        ```
    
    ...👥 📣 `response_model` 👆 🏷 `UserOut`, 👈 🚫 🔌 🔐:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/response_model/tutorial003.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/response_model/tutorial003_py310.py!}
        ```
    
    , **FastAPI** 🔜 ✊ 💅 🖥 👅 🌐 💽 👈 🚫 📣 🔢 🏷 (⚙️ Pydantic).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 16K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/response-model.md

        ```
    
    ...我们已经将 `response_model` 声明为了不包含密码的 `UserOut` 模型:
    
    === "Python 3.10+"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/response_model/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/response_model/tutorial003.py!}
        ```
    
    因此,**FastAPI** 将会负责过滤掉未在输出模型中声明的所有数据(使用 Pydantic)。
    
    ## 在文档中查看
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    ...we declared the `response_model` to be our model `UserOut`, that doesn't include the password:
    
    === "Python 3.10+"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/response_model/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/response_model/tutorial003.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/response-model.md

    ここでは、*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を使用)。
    
    ## ドキュメントを見る
    
    自動ドキュメントを見ると、入力モデルと出力モデルがそれぞれ独自のJSON Schemaを持っていることが確認できます。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top