From 33f445b9f8de0b62b9d36d04a57cb717aef98d4f Mon Sep 17 00:00:00 2001 From: Bingsu Date: Wed, 17 May 2023 08:52:53 +0900 Subject: [PATCH] fix: shared optionsinfo callable args --- sd_webui/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sd_webui/shared.py b/sd_webui/shared.py index eaf0ea0..2d28598 100644 --- a/sd_webui/shared.py +++ b/sd_webui/shared.py @@ -12,7 +12,7 @@ if TYPE_CHECKING: default: Any = None label: str = "" component: Any = None - component_args: dict[str, Any] | None = None + component_args: Callable[[], dict] | dict[str, Any] | None = None onchange: Callable[[], None] | None = None section: tuple[str, str] | None = None refresh: Callable[[], None] | None = None