Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 650 for imagen (0.04 sec)

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

            "bar"
        ],
        "images": [
            {
                "url": "http://example.com/baz.jpg",
                "name": "The Foo live"
            },
            {
                "url": "http://example.com/dave.jpg",
                "name": "The Baz"
            }
        ]
    }
    ```
    
    /// info | Informação
    
    Observe como a chave `images` agora tem uma lista de objetos de imagem.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. docs_src/body_nested_models/tutorial008_py39.py

    from fastapi import FastAPI
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    @app.post("/images/multiple/")
    async def create_multiple_images(images: list[Image]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 248 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_nested_models/test_tutorial008.py

        ]
        response = client.post("/images/multiple", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == data
    
    
    def test_post_invalid_list_item(client: TestClient):
        data = [{"url": "not a valid url", "name": "Example"}]
        response = client.post("/images/multiple", json=data)
        assert response.status_code == 422, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/body-nested-models.md

    ///
    
    ## Bodys aus reinen Listen { #bodies-of-pure-lists }
    
    Wenn das äußerste Element des JSON-Bodys, das Sie erwarten, ein JSON-`array` (eine Python-`list`) ist, können Sie den Typ im Funktionsparameter deklarieren, mit der gleichen Syntax wie in Pydantic-Modellen:
    
    ```Python
    images: list[Image]
    ```
    
    so wie in:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

        }
    
        /**
         * Determines the MIME type of an image file based on its file extension.
         *
         * @param imageFile the image file
         * @return the MIME type string
         */
        protected String getImageMimeType(final File imageFile) {
            final String path = imageFile.getAbsolutePath();
            if (path.endsWith(".png")) {
                return "image/png";
            }
            if (path.endsWith(".gif")) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapImage.java

    import java.io.Serializable;
    
    /**
     * Represents an image entry within a sitemap URL.
     * This class encapsulates the properties of an image as defined in the Google Image Sitemap extension.
     *
     * <p>
     * The image extension allows you to provide additional information about images on your pages.
     * This can help Google index your images and display them in Google Images search results.
     * </p>
     *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/path-operation-configuration.md

    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## 弃用*路径操作*
    
    `deprecated` 参数可以把*路径操作*标记为<abbr title="过时,建议不要使用">弃用</abbr>,无需直接删除:
    
    {* ../../docs_src/path_operation_configuration/tutorial006.py hl[16] *}
    
    API 文档会把该路径操作标记为弃用:
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    下图显示了正常*路径操作*与弃用*路径操作* 的区别:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/body-nested-models.md

    ///
    
    ## Тіла запитів, що складаються зі списків
    
    Якщо верхній рівень JSON тіла, яке Ви очікуєте, є JSON `масивом` (у Python — `list`), Ви можете оголосити тип у параметрі функції, як і в моделях Pydantic:
    
    ```Python
    images: List[Image]
    ```
    або в Python 3.9 і вище:
    
    ```Python
    images: list[Image]
    ```
    
    наприклад:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Feb 28 14:18:01 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_nested_models/test_tutorial006.py

                "price": 35.4,
                "images": {"url": "http://example.com/image.png", "name": "example image"},
            },
        )
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["body", "images"],
                    "input": {
                        "url": "http://example.com/image.png",
                        "name": "example image",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/docker.md

    ## Container Images { #container-images }
    
    Docker has been one of the main tools to create and manage **container images** and **containers**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 12:58:04 UTC 2025
    - 29.5K bytes
    - Viewed (1)
Back to top