- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 413 for image (0.02 sec)
-
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):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 475 bytes - Viewed (0) -
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) -
src/main/assemblies/files/generate-thumbnail
"image/png") format_hint="png:" ;; "image/jpeg") format_hint="jpeg:" ;; "image/bmp"|"image/x-windows-bmp"|"image/x-ms-bmp") format_hint="bmp:" ;; "image/vnd.adobe.photoshop"|"image/photoshop"|"application/x-photoshop"|"application/photoshop") format_hint="psd:" ;; esac ${im_cmd} -thumbnail ${image_size} "${format_hint}${target_file}" "${output_file}" elif [[ x"${cmd_type}" = "x" ]] ; then echo "No filetype."Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 04 08:02:36 UTC 2025 - 3.9K bytes - Viewed (0) -
docs_src/additional_responses/tutorial004_py310.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 669 bytes - Viewed (0) -
src/main/resources/fess_thumbnail.xml
<arg>"image/x-windows-bmp" </arg> </postConstruct> <postConstruct name="addCondition"> <arg>"mimetype"</arg> <arg>"image/x-ms-bmp" </arg> </postConstruct> <postConstruct name="addCondition"> <arg>"mimetype"</arg> <arg>"image/gif" </arg> </postConstruct> <postConstruct name="addCondition"> <arg>"mimetype"</arg> <arg>"image/png" </arg> </postConstruct>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 04 08:02:36 UTC 2025 - 6K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/test.xml
<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> <access kind="tel">090-xxxx-xxxx</access> <image file="hanako.png" /> </item>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 582 bytes - Viewed (0) -
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):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 499 bytes - Viewed (0) -
tests/test_tutorial/test_additional_responses/test_tutorial004.py
def test_path_operation_img(client: TestClient): shutil.copy("./docs/en/docs/img/favicon.png", "./image.png") response = client.get("/items/foo?img=1") assert response.status_code == 200, response.text assert response.headers["Content-Type"] == "image/png" assert len(response.content) os.remove("./image.png") def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 4.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/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 Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3K bytes - Viewed (0) -
src/test/resources/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 #
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0)