Files
bugltd-ComfyLab-Pack/__init__.py
T
Bug, Ltd. 17380c173f Bootstrap (#1)
bootstrap repo with files from local
2025-01-14 16:15:47 +01:00

29 lines
691 B
Python

from pathlib import Path
from .src.python.collection.collect_nodes import (
import_all,
make_class_mappings,
make_display_name_mappings,
make_node_list,
)
from .src.python.collection.register_nodes import CATEGORY
from .src.python.shared.api import load_api
import_all()
NODE_CLASS_MAPPINGS = make_class_mappings()
NODE_DISPLAY_NAME_MAPPINGS = make_display_name_mappings()
make_node_list(Path(__file__).parent / 'node_list.json')
load_api()
print(
' 🧬 {}: {} hybrid nodes successfully cloned'.format(
CATEGORY, len(NODE_CLASS_MAPPINGS)
)
)
WEB_DIRECTORY = './dist/js'
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']