"""Thin orchestration around algorithm_subprocesses reference bundles (no in-process inference).""" from __future__ import annotations from typing import TYPE_CHECKING from app.algo_host.result_adapter import ReferenceDoctorInfo if TYPE_CHECKING: from app.algo_host.batch_service import BatchAlgorithmService, BatchRunResult __all__ = ["BatchAlgorithmService", "BatchRunResult", "ReferenceDoctorInfo"] def __getattr__(name: str): if name == "BatchAlgorithmService": from app.algo_host.batch_service import BatchAlgorithmService return BatchAlgorithmService if name == "BatchRunResult": from app.algo_host.batch_service import BatchRunResult return BatchRunResult raise AttributeError(f"module {__name__!r} has no attribute {name!r}")