Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 748 for imag (0.17 sec)

  1. docs_src/additional_responses/tutorial004.py

    }
    
    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
        response_model=Item,
        responses={**responses, 200: {"content": {"image/png": {}}}},
    )
    async def read_item(item_id: str, img: Union[bool, None] = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 701 bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

        }
    
        private void assertImageSize(File file, int width, int height) throws IOException {
            BufferedImage img = ImageIO.read(file);
            logger.debug("width: {}, height: {}", img.getWidth(), img.getHeight());
            assertEquals("Image Width", width, img.getWidth());
            assertEquals("Image Height", height, img.getHeight());
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/body-nested-models.md

    
    ```Python
    images: List[Image]
    ```
    
    como em:
    
    ```Python hl_lines="15"
    {!../../../docs_src/body_nested_models/tutorial008.py!}
    ```
    
    ## Suporte de editor em todo canto
    
    E você obtém suporte do editor em todos os lugares.
    
    Mesmo para itens dentro de listas:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. docs/fr/docs/deployment/docker.md

    Si vous utilisez Docker, vous pouvez utiliser l'image Docker officielle :
    
    ## <a href="https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker" class="external-link" target="_blank">tiangolo/uvicorn-gunicorn-fastapi</a>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  5. common/scripts/setup_env.sh

    else
        echo "This system's OS, $LOCAL_OS, isn't supported"
        exit 1
    fi
    
    # Build image to use
    TOOLS_REGISTRY_PROVIDER=${TOOLS_REGISTRY_PROVIDER:-gcr.io}
    PROJECT_ID=${PROJECT_ID:-istio-testing}
    if [[ "${IMAGE_VERSION:-}" == "" ]]; then
      IMAGE_VERSION=master-b0f2fd3b4240c8178b14de4689d0e663e11868ff
    fi
    if [[ "${IMAGE_NAME:-}" == "" ]]; then
      IMAGE_NAME=build-tools
    fi
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  6. docs/orchestration/docker-compose/README.md

    ### Notes
    
    * By default the Docker Compose file uses the Docker image for latest MinIO server release. You can change the image tag to pull a specific [MinIO Docker image](https://hub.docker.com/r/minio/minio/).
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 31 19:20:56 GMT 2023
    - 3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top