mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-09 08:57:03 +08:00
Deprecate InputTypeOptions.defaultInput
This commit is contained in:
parent
e346d8584e
commit
8194a49bac
@ -102,9 +102,14 @@ class InputTypeOptions(TypedDict):
|
||||
default: bool | str | float | int | list | tuple
|
||||
"""The default value of the widget"""
|
||||
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
|
||||
"""`defaultInput` and also don't allow converting to a widget"""
|
||||
"""Defaults to an input slot rather than a widget"""
|
||||
lazy: bool
|
||||
"""Declares that this input uses lazy evaluation"""
|
||||
rawLink: bool
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user