Coverage for src/__init__.py: 75%

1"""mala: Agent SDK orchestrator for parallel issue processing."""

2

3 from typing import TYPE_CHECKING

4

5 if TYPE_CHECKING:

6 from .orchestration.orchestrator import MalaOrchestrator

7

8 __version__ = "0.1.0"

9 __all__ = ["MalaOrchestrator", "__version__"]

10

11

12 def __getattr__(name: str) -> type["MalaOrchestrator"]:

13 """Lazy load MalaOrchestrator to defer SDK imports."""

14 if name == "MalaOrchestrator":

15 from .orchestration.orchestrator import MalaOrchestrator

16

17 return MalaOrchestrator

18 raise AttributeError(f"module {__name__! r} has no attribute {name! r}")