mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-09 14:37:04 +08:00
Add node type hint for socketless option
This commit is contained in:
parent
ce22f687cc
commit
3eb49f4810
@ -115,6 +115,8 @@ class InputTypeOptions(TypedDict):
|
||||
"""When a link exists, rather than receiving the evaluated value, you will receive the link (i.e. `["nodeId", <outputIndex>]`). Designed for node expansion."""
|
||||
tooltip: NotRequired[str]
|
||||
"""Tooltip for the input (or widget), shown on pointer hover"""
|
||||
socketless: NotRequired[bool]
|
||||
"""All inputs (including widgets) have an input socket to connect links. When ``true``, if there is a widget for this input, no socket will be created."""
|
||||
# class InputTypeNumber(InputTypeOptions):
|
||||
# default: float | int
|
||||
min: NotRequired[float]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user