Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 130 for tutorial004 (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/ko/docs/tutorial/body-nested-models.md

    모든 것이 단독으로 중첩됩니다.
    
    ### 서브모델 정의
    
    예를 들어, `Image` 모델을 선언할 수 있습니다:
    
    {* ../../docs_src/body_nested_models/tutorial004.py hl[9:11] *}
    
    ### 서브모듈을 타입으로 사용
    
    그리고 어트리뷰트의 타입으로 사용할 수 있습니다:
    
    {* ../../docs_src/body_nested_models/tutorial004.py hl[20] *}
    
    이는 **FastAPI**가 다음과 유사한 본문을 기대한다는 것을 의미합니다:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/response-model.md

    대신 평문 비밀번호로 입력 모델을 만들고 해당 비밀번호 없이 출력 모델을 만들 수 있습니다:
    
    {* ../../docs_src/response_model/tutorial003.py hl[9,11,16] *}
    
    여기서 *경로 작동 함수*가 비밀번호를 포함하는 동일한 입력 사용자를 반환할지라도:
    
    {* ../../docs_src/response_model/tutorial003.py hl[24] *}
    
    ...`response_model`을 `UserOut` 모델로 선언했기 때문에 비밀번호를 포함하지 않습니다:
    
    {* ../../docs_src/response_model/tutorial003.py hl[22] *}
    
    따라서 **FastAPI**는 출력 모델에서 선언하지 않은 모든 데이터를 (Pydantic을 사용하여) 필터링합니다.
    
    ## 문서에서 보기
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/metadata.md

    {* ../../docs_src/metadata/tutorial004.py hl[3:16,18] *}
    
    説明文 (description) の中で Markdown を使用できることに注意してください。たとえば、「login」は太字 (**login**) で表示され、「fancy」は斜体 (_fancy_) で表示されます。
    
    /// tip | 豆知識
    
    使用するすべてのタグにメタデータを追加する必要はありません。
    
    ///
    
    ### 自作タグの使用
    
    `tags` パラメーターを使用して、それぞれの *path operations* (および `APIRouter`) を異なるタグに割り当てます:
    
    {* ../../docs_src/metadata/tutorial004.py hl[21,26] *}
    
    /// info | 情報
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  4. docs/ja/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial003.py hl[6] *}
    
    ## docstringによる説明の高度な設定
    
    *path operation関数* のdocstringからOpenAPIに使用する行を制限することができます。
    
    `\f` (「書式送り (Form Feed)」のエスケープ文字) を付与することで、**FastAPI** はOpenAPIに使用される出力をその箇所までに制限します。
    
    ドキュメントには表示されませんが、他のツール (例えばSphinx) では残りの部分を利用できるでしょう。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. docs/tr/docs/python-types.md

    {* ../../docs_src/python_types/tutorial003.py hl[1] *}
    
    
    Editör değişkenlerin tiplerini bildiğinden, yalnızca otomatik tamamlama değil, hata kontrolleri de sağlar:
    
    <img src="/img/python-types/image04.png">
    
    Artık `age` değişkenini `str(age)` olarak kullanmanız gerektiğini biliyorsunuz:
    
    {* ../../docs_src/python_types/tutorial004.py hl[2] *}
    
    
    ## Tip bildirme
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py

    import pytest
    from dirty_equals import IsList
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    DESCRIPTIONS = {
        "tutorial003": "Create an item with all the information, name, description, price, tax and a set of unique tags",
        "tutorial004": dedent("""
            Create an item with all the information:
    
            - **name**: each item must have a name
            - **description**: a long description
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004.py hl[19:27] *}
    
    이는 대화형 문서에서 사용됩니다:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## 응답 기술
    
    `response_description` 매개변수로 응답에 관한 설명을 명시할 수 있습니다:
    
    {* ../../docs_src/path_operation_configuration/tutorial005.py hl[21] *}
    
    /// info | 정보
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/response-model.md

    ///
    
    ## 返回与输入相同的数据
    
    现在我们声明一个 `UserIn` 模型,它将包含一个明文密码属性。
    
    {* ../../docs_src/response_model/tutorial002.py hl[9,11] *}
    
    我们正在使用此模型声明输入数据,并使用同一模型声明输出数据:
    
    {* ../../docs_src/response_model/tutorial002.py hl[17:18] *}
    
    现在,每当浏览器使用一个密码创建用户时,API 都会在响应中返回相同的密码。
    
    在这个案例中,这可能不算是问题,因为用户自己正在发送密码。
    
    但是,如果我们在其他的*路径操作*中使用相同的模型,则可能会将用户的密码发送给每个客户端。
    
    /// danger
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004.py hl[19:27] *}
    
    これは対話的ドキュメントで使用されます:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/path-operation-configuration/image02.png">
    
    ## レスポンスの説明
    
    `response_description`パラメータでレスポンスの説明をすることができます。
    
    {* ../../docs_src/path_operation_configuration/tutorial005.py hl[21] *}
    
    /// info | 情報
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  10. docs/fr/docs/python-types.md

    Prenons un exemple simple :
    
    {*../../docs_src/python_types/tutorial001.py*}
    
    Exécuter ce programe affiche :
    
    ```
    John Doe
    ```
    
    La fonction :
    
    * Prend un `first_name` et un `last_name`.
    * Convertit la première lettre de chaque paramètre en majuscules grâce à `title()`.
    * Concatène les résultats avec un espace entre les deux.
    
    {*../../docs_src/python_types/tutorial001.py hl[2] *}
    
    ### Limitations
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 10K bytes
    - Click Count (0)
Back to Top