Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Elias (0.12 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 May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  3. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top