Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 330 for image (0.04 seconds)

  1. okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp/native-image.properties

    Yuri Schimke <******@****.***> 1734771389 +0200
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Dec 21 08:56:29 GMT 2024
    - 144 bytes
    - Click Count (0)
  2. okhttp/src/jvmMain/resources/META-INF/native-image/okhttp/okhttp/native-image.properties

    Yuri Schimke <******@****.***> 1735306796 +0200
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 144 bytes
    - Click Count (0)
  3. 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",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial007.py

                    "price": 35.4,
                    "tax": 3.2,
                    "tags": ["foo"],
                    "images": [
                        {
                            "url": "http://example.com/image.png",
                            "name": "example image",
                        }
                    ],
                }
            ],
        }
    
        response = client.post(
            "/offers/",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_body_nested_models/test_tutorial004.py

                "name": "Foo",
                "price": 35.4,
                "image": {"url": "http://example.com/image.png"},
            },
        )
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["body", "image", "name"],
                    "input": {"url": "http://example.com/image.png"},
                    "msg": "Field required",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  6. api/go1.17.txt

    pkg image, method (*Gray) SetRGBA64(int, int, color.RGBA64)
    pkg image, method (*Gray16) RGBA64At(int, int) color.RGBA64
    pkg image, method (*Gray16) SetRGBA64(int, int, color.RGBA64)
    pkg image, method (*NRGBA) RGBA64At(int, int) color.RGBA64
    pkg image, method (*NRGBA) SetRGBA64(int, int, color.RGBA64)
    pkg image, method (*NRGBA64) RGBA64At(int, int) color.RGBA64
    pkg image, method (*NRGBA64) SetRGBA64(int, int, color.RGBA64)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Click Count (0)
  7. 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)
  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)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Click Count (0)
  9. docs_src/body_nested_models/tutorial006_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()
        images: Union[list[Image], None] = None
    
    
    @app.put("/items/{item_id}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 519 bytes
    - Click Count (0)
  10. docs_src/body_nested_models/tutorial007_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
    
    
    class Offer(BaseModel):
        name: str
        description: str | None = None
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 520 bytes
    - Click Count (0)
Back to Top