Fix import conflict in api/handlers/__init__.py

- Remove conflicting imports between cm-cli and comfy-cli handlers
- Keep __init__.py minimal to avoid circular dependencies
- Handlers are imported directly in route files
This commit is contained in:
Jensen Zhang
2026-03-17 22:02:06 +08:00
parent d7a15a7d5d
commit 9a5301d0ee
+5 -9
View File
@@ -1,11 +1,7 @@
"""API handlers for comfy-cli REST API."""
"""API handlers package."""
from .config import ConfigHandler
from .models import ModelHandler
from .nodes import NodeHandler
# Export handlers for both cm-cli and comfy-cli
# Note: nodes.py contains NodesHandler (cm-cli)
# comfy_nodes.py contains NodeHandler (comfy-cli)
__all__ = [
"ConfigHandler",
"ModelHandler",
"NodeHandler",
]
__all__ = []