From 072cab438d523bef0401ef3a05c75747de5f2dc7 Mon Sep 17 00:00:00 2001 From: awsr <43862868+awsr@users.noreply.github.com> Date: Fri, 19 Dec 2025 19:17:52 -0800 Subject: [PATCH] Use Any type for `default` for now --- modules/options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/options.py b/modules/options.py index 2d0c10490..c44a56dd0 100644 --- a/modules/options.py +++ b/modules/options.py @@ -1,6 +1,6 @@ from __future__ import annotations from dataclasses import dataclass -from typing import TYPE_CHECKING +from typing import TYPE_CHECKING, Any from installer import log @@ -16,7 +16,7 @@ def options_section(section_identifier: tuple[str, str], options_dict: dict[str, class OptionInfo: def __init__( self, - default=None, + default: Any | None = None, label="", component=None, component_args=None,