mik-laj commented on a change in pull request #6954: [AIRFLOW-4355] removed
task should not lead to dagrun success
URL: https://github.com/apache/airflow/pull/6954#discussion_r363543882
##########
File path: airflow/models/dag.py
##########
@@ -549,6 +549,11 @@ def tasks(self, val):
def task_ids(self):
return list(self.task_dict.keys())
+ @property
+ def active_tasks(self):
+ """Return tasks in a DAG. Needed as part of determining overall DagRun
outcome"""
+ return [t for t in self.tasks]
Review comment:
In my opinion, you can achieve the same effect without creating a new field
in this class.
https://github.com/apache/airflow/pull/6954/files/9f5cf8f277365a2c7a4e3c56e86f651e5d83f618#r363543585
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services