fester/backend/scheduler/__init__.py

16 lines
559 B
Python

"""
backend.scheduler package — re-exports for backward compatibility.
The original `backend/scheduler.py` module has been moved to
`scheduler_legacy.py` to resolve the package/module name collision.
This file re-exports the legacy symbols so existing callers
(`from backend.scheduler import build_distcc_hosts`, `score_node`)
keep working without changes.
"""
from backend.scheduler_legacy import score_node, build_distcc_hosts
from backend.scheduler.optimizer import choose_best_node
__all__ = ["score_node", "build_distcc_hosts", "choose_best_node"]