Files
dumbdemon-DD_LogicNodes/__init__.py
T
dumbdemon 48f85c4168 v1 Release
Added default values for execute() in IfAnyGet() node

Changed `ANY` input in IfAnyGet() to be optional

Renamed IfAny() to NotGate() for consistency

Removed `anything` as global and made local
Removed checks in check_lazy_status() for IfAnyGet() to allow optional
2026-03-20 16:40:13 -05:00

45 lines
868 B
Python

from comfy_api.latest import ComfyExtension, io
from .src.dd_logicnodes.nodes import (
IfAnyGet,
OrGet,
AndGet,
NorGet,
XorGet,
NandGet,
XnorGet,
NotGate,
OrGate,
AndGate,
NorGate,
XorGate,
NandGate,
XnorGate,
)
UE_VERSION = "7.7"
__all__ = []
async def comfy_entrypoint() -> ComfyExtension:
class DDLogicNodes(ComfyExtension):
async def get_node_list(self) -> list[type[io.ComfyNode]]:
return [
IfAnyGet,
OrGet,
AndGet,
NorGet,
XorGet,
NandGet,
XnorGet,
NotGate,
OrGate,
AndGate,
NorGate,
XorGate,
NandGate,
XnorGate,
]
return DDLogicNodes()