def get_task_by_attr()

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


    def get_task_by_attr(self, attribute, value):
        for task in self.tasks:
            if task.get_attribute(attribute) == value:
                return task
        return None