mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
Fix OptionInfo typing
Warning: This effectively disables type checking for `shared.opts`
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user