Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 409 for Image (0.18 sec)

  1. docs_src/body_nested_models/tutorial005_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()
        image: Image | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 468 bytes
    - Viewed (0)
  2. native-image-tests/README.md

    Native Image Tests
    ==================
    
    This executes OkHttp's test suite inside a Graalvm image.
    
    Build the Native Image
    ----------------------
    
    Compile the classes and metadata into a Graalvm native image.
    
    ```
    ./gradlew --info native-image-tests:nativeImage
    ```
    
    Execute
    -------
    
    The native image runs JUnit 5 tests in the project.
    
    ```
    ./native-image-tests/build/graal/ConsoleLauncher
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Oct 31 12:12:20 GMT 2020
    - 393 bytes
    - Viewed (0)
  3. docs_src/additional_responses/tutorial002.py

        response_model=Item,
        responses={
            200: {
                "content": {"image/png": {}},
                "description": "Return the JSON item or an image.",
            }
        },
    )
    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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 628 bytes
    - Viewed (0)
  4. api/go1.6.txt

    pkg image, method (*NYCbCrA) SubImage(Rectangle) Image
    pkg image, method (*NYCbCrA) YCbCrAt(int, int) color.YCbCr
    pkg image, method (*NYCbCrA) YOffset(int, int) int
    pkg image, type NYCbCrA struct
    pkg image, type NYCbCrA struct, A []uint8
    pkg image, type NYCbCrA struct, AStride int
    pkg image, type NYCbCrA struct, embedded YCbCr
    pkg image/color, method (NYCbCrA) RGBA() (uint32, uint32, uint32, uint32)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 13 23:40:13 GMT 2016
    - 12.9K bytes
    - Viewed (0)
  5. docs_src/body_nested_models/tutorial004_py39.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        image: Union[Image, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 499 bytes
    - Viewed (0)
  6. api/go1.5.txt

    pkg image/color, type CMYK struct, K uint8
    pkg image/color, type CMYK struct, M uint8
    pkg image/color, type CMYK struct, Y uint8
    pkg image/color, var CMYKModel Model
    pkg image/gif, const DisposalBackground = 2
    pkg image/gif, const DisposalBackground ideal-int
    pkg image/gif, const DisposalNone = 1
    pkg image/gif, const DisposalNone ideal-int
    pkg image/gif, const DisposalPrevious = 3
    pkg image/gif, const DisposalPrevious ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/mime.map

    drawing/x-dwf                  dwf              # AutoCAD
    image/gif                      gif              # GIF image file
    image/ief                      ief              # Image Exchange
    image/jpeg                     jpeg jpg jpe     # JPG image file
    image/png                      png              # Portable Network Graphics
    image/tiff                     tiff tif         # TIFF image file
    image/x-cmu-raster             ras              #
    Plain Text
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 5.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

      private static final String IMGUR_CLIENT_ID = "9199fdef135c122";
      private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        RequestBody requestBody = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/testdata/deployment/hello.yaml.injected

            track: stable
        spec:
          containers:
          - image: fake.docker.io/google-samples/hello-go-gke:1.0
            name: hello
            ports:
            - containerPort: 80
              name: http
            resources: {}
          - image: docker.io/istio/proxy_debug:unittest
            name: istio-proxy
            resources: {}
          initContainers:
          - image: docker.io/istio/proxy_init:unittest-test
            name: istio-init
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1K bytes
    - Viewed (0)
  10. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Mar 25 23:10:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top