mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-14 23:53:30 +00:00
Deprecate InputTypeOptions.defaultInput (#7551)
* Deprecate InputTypeOptions.defaultInput * nit * nit
This commit is contained in:
parent
a26da20a76
commit
98bdca4cb2
@ -102,9 +102,13 @@ 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
|
||||||
"""Defaults to an input slot rather than a widget"""
|
"""@deprecated in v1.16 frontend. v1.16 frontend allows input socket and widget to co-exist.
|
||||||
|
- defaultInput on required inputs should be dropped.
|
||||||
|
- defaultInput on optional inputs should be replaced with forceInput.
|
||||||
|
Ref: https://github.com/Comfy-Org/ComfyUI_frontend/pull/3364
|
||||||
|
"""
|
||||||
forceInput: bool
|
forceInput: bool
|
||||||
"""`defaultInput` and also don't allow converting to a widget"""
|
"""Forces the input to be an input slot rather than a widget even a widget is available for the input type."""
|
||||||
lazy: bool
|
lazy: bool
|
||||||
"""Declares that this input uses lazy evaluation"""
|
"""Declares that this input uses lazy evaluation"""
|
||||||
rawLink: bool
|
rawLink: bool
|
||||||
|
Loading…
Reference in New Issue
Block a user