mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-09 04:47:03 +08:00
add optional to type
This commit is contained in:
parent
5327cc8bbb
commit
bdbde1a3c2
@ -229,7 +229,7 @@ class ComfyNodeABC(ABC):
|
|||||||
"""Flags a node as experimental, informing users that it may change or not work as expected."""
|
"""Flags a node as experimental, informing users that it may change or not work as expected."""
|
||||||
DEPRECATED: bool
|
DEPRECATED: bool
|
||||||
"""Flags a node as deprecated, indicating to users that they should find alternatives to this node."""
|
"""Flags a node as deprecated, indicating to users that they should find alternatives to this node."""
|
||||||
API_NODE: bool
|
API_NODE: Optional[bool]
|
||||||
"""Flags a node as an API node."""
|
"""Flags a node as an API node."""
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user