Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 866 for Multiple (0.19 sec)

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

    === "Python 3.10+"
    
        ```Python hl_lines="17-19"
        {!> ../../../docs_src/body_multiple_params/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="19-21"
        {!> ../../../docs_src/body_multiple_params/tutorial001.py!}
        ```
    
    !!! note "Nota"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/body-multiple-params.md

        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="19-21"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ nicht annotiert"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Mon Jan 29 17:32:43 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/body-multiple-params.md

        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="19-21"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/body-multiple-params.md

        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="19-21"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/body-multiple-params.md

    당연하게 `Path`, `Query` 및 요청 본문 매개변수 선언을 자유롭게 혼합해서 사용할 수 있고, **FastAPI**는 어떤 동작을 할지 압니다.
    
    또한, 기본 값을 `None`으로 설정해 본문 매개변수를 선택사항으로 선언할 수 있습니다.
    
    ```Python hl_lines="19-21"
    {!../../../docs_src/body_multiple_params/tutorial001.py!}
    ```
    
    !!! note "참고"
        이 경우에는 본문으로 부터 가져온 `	item`은 기본값이 `None`이기 때문에, 선택사항이라는 점을 유의해야 합니다.
    
    ## 다중 본문 매개변수
    
    이전 예제에서 보듯이, *경로 작동*은 아래와 같이 `Item` 속성을 가진 JSON 본문을 예상합니다:
    
    ```JSON
    {
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-multiple-params.md

        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="19-21"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/body-multiple-params.md

    & 👆 💪 📣 💪 🔢 📦, ⚒ 🔢 `None`:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="19-21"
        {!> ../../../docs_src/body_multiple_params/tutorial001.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="17-19"
        {!> ../../../docs_src/body_multiple_params/tutorial001_py310.py!}
        ```
    
    !!! note
        👀 👈, 👉 💼, `item` 👈 🔜 ✊ ⚪️➡️ 💪 📦. ⚫️ ✔️ `None` 🔢 💲.
    
    ## 💗 💪 🔢
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/body-multiple-params.md

    まず、もちろん、`Path`と`Query`とリクエストボディのパラメータの宣言は自由に混ぜることができ、 **FastAPI** は何をするべきかを知っています。
    
    また、デフォルトの`None`を設定することで、ボディパラメータをオプションとして宣言することもできます:
    
    ```Python hl_lines="19 20 21"
    {!../../../docs_src/body_multiple_params/tutorial001.py!}
    ```
    
    !!! note "備考"
        この場合、ボディから取得する`item`はオプションであることに注意してください。デフォルト値は`None`です。
    
    ## 複数のボディパラメータ
    
    上述の例では、*path operations*は`item`の属性を持つ以下のようなJSONボディを期待していました:
    
    ```JSON
    {
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 15:48:41 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. tests/test_annotated.py

                                },
                            },
                        },
                    }
                },
                "/multiple": {
                    "get": {
                        "summary": "Multiple",
                        "operationId": "multiple_multiple_get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. docs_src/request_files/tutorial003_an.py

    
    @app.post("/files/")
    async def create_files(
        files: Annotated[List[bytes], File(description="Multiple files as bytes")],
    ):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(
        files: Annotated[
            List[UploadFile], File(description="Multiple files as UploadFile")
        ],
    ):
        return {"filenames": [file.filename for file in files]}
    
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 987 bytes
    - Viewed (0)
Back to top