Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 288 for Image (0.02 seconds)

  1. docs_src/body_nested_models/tutorial006_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        images: list[Image] | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 475 bytes
    - Click Count (0)
  2. api/go1.4.txt

    pkg image/png, const DefaultCompression = 0
    pkg image/png, const DefaultCompression CompressionLevel
    pkg image/png, const NoCompression = -1
    pkg image/png, const NoCompression CompressionLevel
    pkg image/png, method (*Encoder) Encode(io.Writer, image.Image) error
    pkg image/png, type CompressionLevel int
    pkg image/png, type Encoder struct
    pkg image/png, type Encoder struct, CompressionLevel CompressionLevel
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Click Count (0)
  3. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

        when {
          file.name.endsWith(".css") -> "text/css"
          file.name.endsWith(".gif") -> "image/gif"
          file.name.endsWith(".html") -> "text/html"
          file.name.endsWith(".jpeg") -> "image/jpeg"
          file.name.endsWith(".jpg") -> "image/jpeg"
          file.name.endsWith(".js") -> "application/javascript"
          file.name.endsWith(".png") -> "image/png"
          else -> "text/plain"
        }
    
      private fun Socket.peerName(): String {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. README.md

    ## Build Docker Image
    
    You can use the `docker build .` command to build a Docker image on your local host machine.
    You must first [build MinIO](#install-from-source) and ensure the `minio` binary exists in the project root.
    
    The following command builds the Docker image using the default `Dockerfile` in the root project directory with the repository and image tag `myminio:minio`
    
    ```sh
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Dec 03 08:13:11 GMT 2025
    - 9K bytes
    - Click Count (0)
  5. 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:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  6. docs/de/docs/deployment/docker.md

    ## Ein Docker-Image für FastAPI erstellen { #build-a-docker-image-for-fastapi }
    
    Okay, wollen wir jetzt etwas bauen! 🚀
    
    Ich zeige Ihnen, wie Sie ein **Docker-Image** für FastAPI **von Grund auf** erstellen, basierend auf dem **offiziellen Python**-Image.
    
    Das ist, was Sie in **den meisten Fällen** tun möchten, zum Beispiel:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 17:32:56 GMT 2025
    - 33.6K bytes
    - Click Count (0)
  7. .github/workflows/mint/minio-erasure.yaml

    version: '3.7'
    
    # Settings and configurations that are common for all containers
    x-minio-common: &minio-common
      image: quay.io/minio/minio:${JOB_NAME}
      command: server --console-address ":9001" edata{1...4}
      expose:
        - "9000"
        - "9001"
      environment:
        MINIO_CI_CD: "on"
        MINIO_ROOT_USER: "minio"
        MINIO_ROOT_PASSWORD: "minio123"
        MINIO_KMS_SECRET_KEY: "my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw="
      healthcheck:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Nov 03 21:18:18 GMT 2023
    - 1.2K bytes
    - Click Count (0)
  8. docs/fr/docs/deployment/docker.md

    * Construisez votre image FastAPI :
    
    <div class="termy">
    
    ```console
    $ docker build -t myimage .
    
    ---> 100%
    ```
    
    </div>
    
    ## Démarrer le conteneur Docker
    
    * Exécutez un conteneur basé sur votre image :
    
    <div class="termy">
    
    ```console
    $ docker run -d --name mycontainer -p 80:80 myimage
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  9. docs_src/body_nested_models/tutorial004_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        image: Image | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed May 11 17:29:02 GMT 2022
    - 455 bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/body-nested-models.md

    Observa cómo `Offer` tiene una lista de `Item`s, que a su vez tienen una lista opcional de `Image`s
    
    ///
    
    ## Cuerpos de listas puras { #bodies-of-pure-lists }
    
    Si el valor superior del cuerpo JSON que esperas es un `array` JSON (una `list` en Python), puedes declarar el tipo en el parámetro de la función, al igual que en los modelos Pydantic:
    
    ```Python
    images: list[Image]
    ```
    
    como en:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top