V3 io.ComfyNode schema delegates to the V1 class so logic is not forked. comfy_entrypoint exported import-guarded; V1 NODE_CLASS_MAPPINGS remain authoritative on the 0.25.0 loader (no double registration). Verified ComfyUI 0.25.0.
11 lines
300 B
Python
11 lines
300 B
Python
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
WEB_DIRECTORY = "./js"
|
|
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']
|
|
|
|
try:
|
|
from .nodes import comfy_entrypoint # noqa: F401
|
|
__all__.append('comfy_entrypoint')
|
|
except ImportError:
|
|
pass |