Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 23 (0.16 sec)

  1. docs/de/docs/tutorial/body-multiple-params.md

    === "Python 3.10+"
    
        ```Python hl_lines="23"
        {!> ../../../docs_src/body_multiple_params/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="23"
        {!> ../../../docs_src/body_multiple_params/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="24"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 29 17:32:43 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/body-multiple-params.md

    如果你就按原样声明它,因为它是一个单一值,**FastAPI** 将假定它是一个查询参数。
    
    但是你可以使用 `Body` 指示 **FastAPI** 将其作为请求体的另一个键进行处理。
    
    
    === "Python 3.10+"
    
        ```Python hl_lines="23"
        {!> ../../../docs_src/body_multiple_params/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="23"
        {!> ../../../docs_src/body_multiple_params/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="24"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/body-multiple-params.md

    Но вы можете указать **FastAPI** обрабатывать его, как ещё один ключ тела запроса, используя `Body`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="23"
        {!> ../../../docs_src/body_multiple_params/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="23"
        {!> ../../../docs_src/body_multiple_params/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="24"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/body-multiple-params.md

    예를 들어 이전의 모델을 확장하면, `item`과 `user`와 동일한 본문에 또 다른 `importance`라는 키를 갖도록 할 수있습니다.
    
    단일 값을 그대로 선언한다면, **FastAPI**는 쿼리 매개변수로 가정할 것입니다.
    
    하지만, **FastAPI**의 `Body`를 사용해 다른 본문 키로 처리하도록 제어할 수 있습니다:
    
    
    ```Python hl_lines="23"
    {!../../../docs_src/body_multiple_params/tutorial003.py!}
    ```
    
    이 경우에는 **FastAPI**는 본문을 이와 같이 예측할 것입니다:
    
    
    ```JSON
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-multiple-params.md

    But you can instruct **FastAPI** to treat it as another body key using `Body`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="23"
        {!> ../../../docs_src/body_multiple_params/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="23"
        {!> ../../../docs_src/body_multiple_params/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="24"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/body-multiple-params.md

    例えば、前のモデルを拡張して、同じボディに `item` と `user` の他にもう一つのキー `importance` を入れたいと決めることができます。
    
    単数値なのでそのまま宣言すると、**FastAPI** はそれがクエリパラメータであるとみなします。
    
    しかし、`Body`を使用して、**FastAPI** に別のボディキーとして扱うように指示することができます:
    
    
    ```Python hl_lines="23"
    {!../../../docs_src/body_multiple_params/tutorial003.py!}
    ```
    
    この場合、**FastAPI** は以下のようなボディを期待します:
    
    
    ```JSON
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 15:48:41 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top