Returns an ordered dictionary {task_name: task} of all tasks within this workflow.

        :return: Ordered dictionary with key being task_name (str) and an instance of a corresponding task from this
        workflow
        :rtype: OrderedDict

def get_tasks(self):
        """Returns an ordered dictionary {task_name: task} of all tasks within this workflow.

        :return: Ordered dictionary with key being task_name (str) and an instance of a corresponding task from this
        workflow
        :rtype: OrderedDict
        """
        tasks = collections.OrderedDict()
        for dep in self.ordered_dependencies:
            tasks[dep.name] = dep.task

        return tasks