Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Image (0.13 sec)

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

    ## Bodys aus reinen Listen
    
    Wenn Sie möchten, dass das äußerste Element des JSON-Bodys ein JSON-`array` (eine Python-`list`e) ist, können Sie den Typ im Funktionsparameter deklarieren, mit der gleichen Syntax wie in Pydantic-Modellen:
    
    ```Python
    images: List[Image]
    ```
    
    oder in Python 3.9 und darüber:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. docs/fr/docs/advanced/additional-responses.md

    Par exemple, vous pouvez ajouter un type de média supplémentaire `image/png`, en déclarant que votre *opération de chemin* peut renvoyer un objet JSON (avec le type de média `application/json`) ou une image PNG :
    
    ```Python hl_lines="19-24 28"
    {!../../../docs_src/additional_responses/tutorial002.py!}
    ```
    
    !!! note "Remarque"
        Notez que vous devez retourner l'image en utilisant directement un `FileResponse`.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/body-nested-models.md

    ## Тела с чистыми списками элементов
    
    Если верхний уровень значения тела JSON-объекта представляет собой JSON `array` (в Python - `list`), вы можете объявить тип в параметре функции, так же, как в моделях Pydantic:
    
    ```Python
    images: List[Image]
    ```
    
    в Python 3.9 и выше:
    
    ```Python
    images: list[Image]
    ```
    
    например так:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/request-files.md

    ### `UploadFile`
    
    `UploadFile` ✔️ 📄 🔢:
    
    * `filename`: `str` ⏮️ ⏮️ 📁 📛 👈 📂 (✅ `myimage.jpg`).
    * `content_type`: `str` ⏮️ 🎚 🆎 (📁 🆎 / 📻 🆎) (✅ `image/jpeg`).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/request-files.md

    ### `UploadFile`
    
    `UploadFile` 은 다음과 같은 어트리뷰트가 있습니다:
    
    * `filename` : 문자열(`str`)로 된 업로드된 파일의 파일명입니다 (예: `myimage.jpg`).
    * `content_type` : 문자열(`str`)로 된 파일 형식(MIME type / media type)입니다 (예: `image/jpeg`).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  6. docs/en/overrides/main.html

            <img class="sponsor-image" src="/img/sponsors/platform-sh-banner.png" />
          </a>
        </div>
        <div class="item">
          <a title="Deploy FastAPI on AWS with a few clicks" style="display: block; position: relative;" href="https://www.porter.run" target="_blank">
            <span class="sponsor-badge">sponsor</span>
            <img class="sponsor-image" src="/img/sponsors/porter-banner.png" />
          </a>
        </div>
    HTML
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Mar 25 23:10:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-nested-models.md

    ## Bodies of pure lists
    
    If the top level value of the JSON body you expect is a JSON `array` (a Python `list`), you can declare the type in the parameter of the function, the same as in Pydantic models:
    
    ```Python
    images: List[Image]
    ```
    
    or in Python 3.9 and above:
    
    ```Python
    images: list[Image]
    ```
    
    as in:
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/body-nested-models.md

    {!../../../docs_src/body_nested_models/tutorial007.py!}
    ```
    
    !!! info "정보"
        `Offer`가 선택사항 `Image` 리스트를 차례로 갖는 `Item` 리스트를 어떻게 가지고 있는지 주목하세요
    
    ## 순수 리스트의 본문
    
    예상되는 JSON 본문의 최상위 값이 JSON `array`(파이썬 `list`)면, Pydantic 모델에서와 마찬가지로 함수의 매개변수에서 타입을 선언할 수 있습니다:
    
    ```Python
    images: List[Image]
    ```
    
    이를 아래처럼:
    
    ```Python hl_lines="15"
    {!../../../docs_src/body_nested_models/tutorial008.py!}
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/docker.md

    !!! warning
        There's a high chance that you **don't** need this base image or any other similar one, and would be better off by building the image from scratch as [described above in: Build a Docker Image for FastAPI](#build-a-docker-image-for-fastapi).
    
    This image has an **auto-tuning** mechanism included to set the **number of worker processes** based on the CPU cores available.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  10. requirements-docs.txt

    mkdocs-material==9.5.18
    mdx-include >=1.4.1,<2.0.0
    mkdocs-redirects>=1.2.1,<1.3.0
    typer >=0.12.0
    pyyaml >=5.3.1,<7.0.0
    # For Material for MkDocs, Chinese search
    jieba==0.42.1
    # For image processing by Material for MkDocs
    pillow==10.3.0
    # For image processing by Material for MkDocs
    cairosvg==2.7.0
    mkdocstrings[python]==0.24.3
    griffe-typingdoc==0.2.2
    # For griffe, it formats with black
    black==24.3.0
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Apr 28 00:27:34 GMT 2024
    - 465 bytes
    - Viewed (0)
Back to top