aboutsummaryrefslogtreecommitdiff
path: root/stubs/open_webui/routers/images.pyi
blob: 04c759f27a4a412907b4290475f06dea58d1a834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from types import SimpleNamespace
from typing import Any

from fastapi import Request

async def get_image_config() -> SimpleNamespace: ...
async def upload_image(
    request: Request,
    image_data: bytes,
    content_type: str,
    metadata: dict[str, Any],
    user: Any,
    db: Any = None,
) -> tuple[Any, dict[str, Any]]: ...