Files
2026-07-07 16:43:01 +03:00

35 lines
1.1 KiB
Python

from .nodes.convert import (
NODE_CLASS_MAPPINGS as convert_class_mappings,
NODE_DISPLAY_NAME_MAPPINGS as convert_display_mappings,
)
from .nodes.sort import (
NODE_CLASS_MAPPINGS as sort_class_mappings,
NODE_DISPLAY_NAME_MAPPINGS as sort_display_mappings,
)
from .nodes.pick import (
NODE_CLASS_MAPPINGS as pick_class_mappings,
NODE_DISPLAY_NAME_MAPPINGS as pick_display_mappings,
)
from .nodes.dedup import (
NODE_CLASS_MAPPINGS as dedup_class_mappings,
NODE_DISPLAY_NAME_MAPPINGS as dedup_display_mappings,
)
from .nodes.expand import (
NODE_CLASS_MAPPINGS as expand_class_mappings,
NODE_DISPLAY_NAME_MAPPINGS as expand_display_mappings,
)
NODE_CLASS_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS = {}
for cm, dm in [
(convert_class_mappings, convert_display_mappings),
(sort_class_mappings, sort_display_mappings),
(pick_class_mappings, pick_display_mappings),
(dedup_class_mappings, dedup_display_mappings),
(expand_class_mappings, expand_display_mappings),
]:
NODE_CLASS_MAPPINGS.update(cm)
NODE_DISPLAY_NAME_MAPPINGS.update(dm)
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]