diff options
Diffstat (limited to 'stubs/open_webui/routers/images.pyi')
| -rw-r--r-- | stubs/open_webui/routers/images.pyi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/stubs/open_webui/routers/images.pyi b/stubs/open_webui/routers/images.pyi new file mode 100644 index 0000000..04c759f --- /dev/null +++ b/stubs/open_webui/routers/images.pyi @@ -0,0 +1,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]]: ... |
