Replaces stale 'model memory management' text with an accurate description of FormatString, RandomChoice, and CircuitBreaker. Matches the text in comfy-manager-entry.json exactly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
858 B
Python
22 lines
858 B
Python
"""
|
|
@author: Darth Veitcher
|
|
@title: Comfy DV Nodes
|
|
@nickname: DV Nodes
|
|
@description: Quality of life ComfyUI nodes: dynamic string formatting with Python f-strings or Jinja2 templates, seed-controlled random input selection, and workflow circuit-breaker for conditional queue interruption.
|
|
"""
|
|
|
|
import sys
|
|
|
|
# Only import when not running pytest (to avoid ComfyUI dependency issues during testing)
|
|
if "pytest" not in sys.modules:
|
|
from .src.comfydv import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
WEB_DIRECTORY = "./src/js"
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|
|
else:
|
|
# When running tests, provide empty exports
|
|
NODE_CLASS_MAPPINGS = {}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {}
|
|
WEB_DIRECTORY = "./src/js"
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|