update minio port
This commit is contained in:
24
backend/app/algo_host/__init__.py
Normal file
24
backend/app/algo_host/__init__.py
Normal file
@@ -0,0 +1,24 @@
|
||||
"""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}")
|
||||
Reference in New Issue
Block a user