From bdbde1a3c21f953fe50a582fd3e6a09e582dda81 Mon Sep 17 00:00:00 2001 From: bymyself Date: Tue, 15 Apr 2025 18:06:36 -0700 Subject: [PATCH] add optional to type --- comfy/comfy_types/node_typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/comfy_types/node_typing.py b/comfy/comfy_types/node_typing.py index dbb757c91..0bdda032e 100644 --- a/comfy/comfy_types/node_typing.py +++ b/comfy/comfy_types/node_typing.py @@ -229,7 +229,7 @@ class ComfyNodeABC(ABC): """Flags a node as experimental, informing users that it may change or not work as expected.""" DEPRECATED: bool """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.""" @classmethod