Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 181 for tutorial002_py39 (0.27 sec)

  1. docs/ko/docs/tutorial/body.md

    * 자동 완성
    * 타입 확인
    * 리팩토링
    * 검색
    * 점검
    
    ///
    
    ## 모델 사용하기
    
    함수 안에서 모델 객체의 모든 어트리뷰트에 직접 접근 가능합니다:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="19"
    {!> ../../docs_src/body/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="21"
    {!> ../../docs_src/body/tutorial002.py!}
    ```
    
    ////
    
    ## 요청 본문 + 경로 매개변수
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/background-tasks.md

    ```Python hl_lines="13  15  22  25"
    {!> ../../docs_src/background_tasks/tutorial002.py!}
    ```
    
    ////
    
    //// tab | Python 3.10 and above
    
    ```Python hl_lines="11  13  20  23"
    {!> ../../docs_src/background_tasks/tutorial002_py310.py!}
    ```
    
    ////
    
    이 예제에서는 응답이 반환된 후에 `log.txt` 파일에 메시지가 기록됩니다.
    
    요청에 쿼리가 있는 경우 백그라운드 작업의 로그에 기록됩니다.
    
    그리고 _경로 작동 함수_ 에서 생성된 또 다른 백그라운드 작업은 경로 매개 변수를 활용하여 사용하여 메시지를 작성합니다.
    
    ## 기술적 세부사항
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/body-multiple-params.md

        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    但是你也可以声明多个请求体参数,例如 `item` 和 `user`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="20"
    {!> ../../docs_src/body_multiple_params/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="22"
    {!> ../../docs_src/body_multiple_params/tutorial002.py!}
    ```
    
    ////
    
    在这种情况下,**FastAPI** 将注意到该函数中有多个请求体参数(两个 Pydantic 模型参数)。
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/schema-extra-example.md

    ## `Field` additional arguments
    
    When using `Field()` with Pydantic models, you can also declare additional `examples`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="2  8-11"
    {!> ../../docs_src/schema_extra_example/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4  10-13"
    {!> ../../docs_src/schema_extra_example/tutorial002.py!}
    ```
    
    ////
    
    ## `examples` in JSON Schema - OpenAPI
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/body.md

    * 自动补全
    * 类型检查
    * 代码重构
    * 查找
    * 代码审查
    
    ///
    
    ## 使用模型
    
    在*路径操作*函数内部直接访问模型对象的属性:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="19"
    {!> ../../docs_src/body/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="21"
    {!> ../../docs_src/body/tutorial002.py!}
    ```
    
    ////
    
    ## 请求体 + 路径参数
    
    **FastAPI** 支持同时声明路径参数和请求体。
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/body.md

    ///
    
    ## Das Modell verwenden
    
    Innerhalb der Funktion können Sie alle Attribute des Modells direkt verwenden:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="19"
    {!> ../../docs_src/body/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="21"
    {!> ../../docs_src/body/tutorial002.py!}
    ```
    
    ////
    
    ## Requestbody- + Pfad-Parameter
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    ////
    
    //// tab | Python 3.9+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="7"
    {!> ../../docs_src/query_params_str_validations/tutorial012_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="9"
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/query-params-str-validations.md

    //// tab | Python 3.9+ без Annotated
    
    /// tip | "Подсказка"
    
    Рекомендуется использовать версию с `Annotated` если возможно.
    
    ///
    
    ```Python hl_lines="7"
    {!> ../../docs_src/query_params_str_validations/tutorial012_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ без Annotated
    
    /// tip | "Подсказка"
    
    Рекомендуется использовать версию с `Annotated` если возможно.
    
    ///
    
    ```Python hl_lines="9"
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/query-params-str-validations.md

    //// tab | Python 3.9+ nicht annotiert
    
    /// tip | "Tipp"
    
    Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    ///
    
    ```Python hl_lines="7"
    {!> ../../docs_src/query_params_str_validations/tutorial012_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ nicht annotiert
    
    /// tip | "Tipp"
    
    Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    ///
    
    ```Python hl_lines="9"
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/schema-extra-example.md

    Wenn Sie `Field()` mit Pydantic-Modellen verwenden, können Sie ebenfalls zusätzliche `examples` deklarieren:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="2  8-11"
    {!> ../../docs_src/schema_extra_example/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4  10-13"
    {!> ../../docs_src/schema_extra_example/tutorial002.py!}
    ```
    
    ////
    
    ## `examples` im JSON-Schema – OpenAPI
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top