

def get_starter(self, hackathon, template):
    starter = None
    if ((not hackathon) or (not template)):
        return starter
    if (template.provider == VE_PROVIDER.DOCKER):
        if (HACKATHON_CONFIG.CLOUD_PROVIDER in hackathon.config):
            if (hackathon.config[HACKATHON_CONFIG.CLOUD_PROVIDER] == CLOUD_PROVIDER.AZURE):
                starter = RequiredFeature('azure_docker')
            elif (hackathon.config[HACKATHON_CONFIG.CLOUD_PROVIDER] == CLOUD_PROVIDER.ALAUDA):
                starter = RequiredFeature('alauda_docker')
    elif (template.provider == VE_PROVIDER.AZURE):
        starter = RequiredFeature('azure_vm')
    return starter

dataset/ETHPy150Open msopentechcn/open-hackathon/open-hackathon-server/src/hackathon/expr/expr_mgr.py ExprManager.get_starter/original