Used in https://github.com/mhenc/airflow/blob/master/airflow/dag_processing/manager.py#L613

should be straighforward
"""
        Add a list of tasks to the DAG
        :param tasks: a lit of tasks you want to add
        """
        for task in tasks:
            self.add_task(task)
    def _remove_task(self, task_id: str) -> None:
        
        
        task = self.task_dict.pop(task_id)
        tg = getattr(task, "task_group", None)
        if tg:
            tg._remove(task)
        self.task_count = len(self.task_dict)
    def run(
        self,
        start_date=None,
        end_date=None,
        mark_success=False,
        local=False,
        executor=None,
        donot_pickle=conf.getboolean("core", "donot_pickle"),
        ignore_task_deps=False,