This commit is contained in:
Chenlei Hu 2025-04-09 14:01:38 -04:00
parent 889eab111b
commit cbc9142b70

View File

@ -102,10 +102,9 @@ class InputTypeOptions(TypedDict):
default: bool | str | float | int | list | tuple default: bool | str | float | int | list | tuple
"""The default value of the widget""" """The default value of the widget"""
defaultInput: bool defaultInput: bool
"""@deprecated in v1.16 frontend. v1.16 frontend allows input socket and widget """@deprecated in v1.16 frontend. v1.16 frontend allows input socket and widget to co-exist.
to co-exist. - defaultInput on required inputs should be dropped.
defaultInput on required inputs should be dropped. - defaultInput on optional inputs should be replaced with forceInput.
defaultInput on optional inputs should be replaced with forceInput.
Ref: https://github.com/Comfy-Org/ComfyUI_frontend/pull/3364 Ref: https://github.com/Comfy-Org/ComfyUI_frontend/pull/3364
""" """
forceInput: bool forceInput: bool