def get_template_name()

in dagify/converter/utils.py [0:0]


def get_template_name(self, job_type):
    """Function to return template_name for a particular job_type"""
    for mapping in self.config["config"]["mappings"]:
        if mapping["job_type"] == job_type.upper():
            return mapping["template_name"]
    # no match found
    return None