From 6cec9828e85a9383406aa80a4bfbebeca6d99449 Mon Sep 17 00:00:00 2001 From: awsr <43862868+awsr@users.noreply.github.com> Date: Tue, 13 Jan 2026 04:07:51 -0800 Subject: [PATCH] Fix OptionInfo typing Warning: This effectively disables type checking for `shared.opts` --- modules/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/options.py b/modules/options.py index 6e31c8660..6b551385b 100644 --- a/modules/options.py +++ b/modules/options.py @@ -21,7 +21,7 @@ def options_section(section_identifier: tuple[str, str], options_dict: dict[str, class OptionInfo: def __init__( self, - default: Any | None = None, + default: Any = None, label="", component: type[Component] | type[DropdownEditable] | None = None, component_args: dict | Callable[..., dict] | None = None,