Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 426 for image (0.07 sec)

  1. docs_src/body_nested_models/tutorial005_py39.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: 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):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 512 bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

          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"
        }
      }
    
      companion object {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/resources/extractor/xml/test_utf8bom.xml

                    <access kind="email"></access>
                    <access kind="url">http://www.taro.com/</access>
                    <image file="taro.png" />
            </item>
            <item sex="male" custid="B23456">
                    <name>佐藤二朗</name>
                    <access kind="email">******@****.***</access>
                    <image file="jiro.png" />
            </item>
            <item sex="female" custid="C34567">
                    <name>田中花子</name>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Wed Aug 01 02:48:58 UTC 2018
    - 729 bytes
    - Viewed (0)
  4. 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
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/testdata/deployment/hello.yaml.iop.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-testiop
            name: istio-init
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. 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]
    ```
    
    например так:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/testdata/deployment/hello-with-proxyconfig-anno.yaml.injected

            track: stable
        spec:
          containers:
          - image: docker.io/istio/proxy_debug:unittest
            name: istio-proxy
            resources: {}
          - image: fake.docker.io/google-samples/hello-go-gke:1.0
            name: hello
            ports:
            - containerPort: 80
              name: http
            resources: {}
          initContainers:
          - image: docker.io/istio/proxy_init:unittest-test
            name: istio-init
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. .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:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Nov 03 21:18:18 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt

        withLocale(Locale("en", "US")) {
          val mediaType = parse("IMAGE/JPEG")
          assertEquals("image", mediaType.type)
          assertEquals("jpeg", mediaType.subtype)
        }
      }
    
      @Test fun testTurkishDotlessIWithTrTr() {
        withLocale(Locale("tr", "TR")) {
          val mediaType = parse("IMAGE/JPEG")
          assertEquals("image", mediaType.type)
          assertEquals("jpeg", mediaType.subtype)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top