Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Elias (0.14 sec)

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

        이는 일부 어트리뷰트를 생략하기 위해 `response_model_include` 또는 `response_model_exclude`를 사용하더라도 앱의 OpenAPI(및 문서)가 생성한 JSON 스키마가 여전히 전체 모델에 대한 스키마이기 때문입니다.
    
        비슷하게 작동하는 `response_model_by_alias` 역시 마찬가지로 적용됩니다.
    
    ```Python hl_lines="31  37"
    {!../../../docs_src/response_model/tutorial005.py!}
    ```
    
    !!! tip "팁"
        문법 `{"name", "description"}`은 두 값을 갖는 `set`을 만듭니다.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 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

        То же самое применимо к параметру `response_model_by_alias`.
    
    === "Python 3.10+"
    
        ```Python hl_lines="29  35"
        {!> ../../../docs_src/response_model/tutorial005_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="31  37"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 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

        Das trifft auch auf `response_model_by_alias` zu, welches ähnlich funktioniert.
    
    === "Python 3.10+"
    
        ```Python hl_lines="29  35"
        {!> ../../../docs_src/response_model/tutorial005_py310.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 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

    !!! tip
        ✋️ ⚫️ 👍 ⚙️ 💭 🔛, ⚙️ 💗 🎓, ↩️ 👫 🔢.
    
        👉 ↩️ 🎻 🔗 🏗 👆 📱 🗄 (& 🩺) 🔜 1️⃣ 🏁 🏷, 🚥 👆 ⚙️ `response_model_include` ⚖️ `response_model_exclude` 🚫 🔢.
    
        👉 ✔ `response_model_by_alias` 👈 👷 ➡.
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="31  37"
        {!> ../../../docs_src/response_model/tutorial005.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 16K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/response-model.md

    !!! tip
        但是依然建议你使用上面提到的主意,使用多个类而不是这些参数。
    
        这是因为即使使用 `response_model_include` 或 `response_model_exclude` 来省略某些属性,在应用程序的 OpenAPI 定义(和文档)中生成的 JSON Schema 仍将是完整的模型。
    
        这也适用于作用类似的 `response_model_by_alias`。
    
    ```Python hl_lines="31  37"
    {!../../../docs_src/response_model/tutorial005.py!}
    ```
    
    !!! tip
        `{"name", "description"}` 语法创建一个具有这两个值的 `set`。
    
        等同于 `set(["name", "description"])`。
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/response-model.md

        それでも、これらのパラメータではなく、複数のクラスを使用して、上記のようなアイデアを使うことをおすすめします。
    
        これは`response_model_include`や`response_mode_exclude`を使用していくつかの属性を省略しても、アプリケーションのOpenAPI(とドキュメント)で生成されたJSON Schemaが完全なモデルになるからです。
    
        同様に動作する`response_model_by_alias`にも当てはまります。
    
    ```Python hl_lines="31 37"
    {!../../../docs_src/response_model/tutorial005.py!}
    ```
    
    !!! tip "豆知識"
        `{"name", "description"}`の構文はこれら2つの値をもつ`set`を作成します。
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/response-model.md

        This also applies to `response_model_by_alias` that works similarly.
    
    === "Python 3.10+"
    
        ```Python hl_lines="29  35"
        {!> ../../../docs_src/response_model/tutorial005_py310.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
Back to top