def tree_view(self):
        def get_downstream(task, level=0):
            print((" " * level * 4) + str(task))
            level += 1
            for t in task.upstream_list:
                get_downstream(t, level)

        for t in self.roots:
            get_downstream(t)
Shows an ascii tree representation of the DAG
dataset/ETHPy150Open airbnb/airflow/airflow/models.py/DAG.tree_view