in src/frontend_service/orchestrator/orchestrator.py [0:0]
def createOrchestrator(orchestration_type: str) -> "BaseOrchestrator":
for cls in BaseOrchestrator.__subclasses__():
s = f"{orchestration_type} == {cls.kind}"
if orchestration_type == cls.kind:
return cls() # type: ignore
raise TypeError(f"No orchestration type of kind {orchestration_type}")