mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-03-13 01:10:01 +00:00
fix: sd_webui shared OptionInfo
This commit is contained in:
@@ -9,13 +9,13 @@ if TYPE_CHECKING:
|
||||
|
||||
@dataclass
|
||||
class OptionInfo:
|
||||
default: Any
|
||||
label: str
|
||||
component: Any
|
||||
component_args: dict[str, Any]
|
||||
onchange: Callable[[], None]
|
||||
section: tuple[str, str]
|
||||
refresh: Callable[[], None]
|
||||
default: Any = None
|
||||
label: str = ""
|
||||
component: Any = None
|
||||
component_args: dict[str, Any] | None = None
|
||||
onchange: Callable[[], None] | None = None
|
||||
section: tuple[str, str] | None = None
|
||||
refresh: Callable[[], None] | None = None
|
||||
|
||||
class Option:
|
||||
data_labels: dict[str, OptionInfo]
|
||||
|
||||
Reference in New Issue
Block a user