sirus / backend /ml_module /working /__init__.py
ranilmukesh's picture
Deploy SiRUS SQL Agent backend
783a952
"""ML-ETL Agent working module exports."""
import importlib
import sys
from pathlib import Path
# Import module with hyphen in name using importlib
_module_path = Path(__file__).parent / "ML-ETLAgent.py"
_spec = importlib.util.spec_from_file_location("ml_etl_agent", _module_path)
_module = importlib.util.module_from_spec(_spec)
sys.modules["ml_etl_agent"] = _module
_spec.loader.exec_module(_module)
ml_etl_agent_app = _module.app
run_tenant_ml_agent = _module.run_tenant_ml_agent
list_ml_user_sessions = _module.list_ml_user_sessions
get_ml_chat = _module.get_ml_chat
delete_ml_chat = _module.delete_ml_chat
rename_ml_chat = _module.rename_ml_chat
cancel_ml_run = _module.cancel_ml_run
ML_DEFAULT_AGENT_ID = _module.DEFAULT_AGENT_ID
__all__ = [
"ml_etl_agent_app",
"run_tenant_ml_agent",
"list_ml_user_sessions",
"get_ml_chat",
"delete_ml_chat",
"rename_ml_chat",
"cancel_ml_run",
"ML_DEFAULT_AGENT_ID",
]