Files
CentralFloridaAttorney-Comf…/api/__init__.py
T
2026-04-02 20:46:29 -04:00

17 lines
654 B
Python

# 1. ROUTE REGISTRATION IMPORTS 🌐
# We use absolute imports to ensure these work correctly during standalone testing.
from .zmongo_field_selector_api import register_zmongo_field_selector_routes
# 2. BUNDLED REGISTRATION HELPER 🚦
# This single function can be called in your root __init__.py to set up everything at once.
def register_all_zmongo_routes(prompt_server_instance):
"""
Registers all ZMongo-related API routes with the ComfyUI server.
"""
register_zmongo_field_selector_routes(prompt_server_instance)
# 3. PUBLIC EXPORTS 📤
__all__ = [
"register_all_zmongo_routes",
"register_zmongo_field_selector_routes",
]