You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/04/22 07:02:21 UTC
[GitHub] [airflow] BasPH commented on a change in pull request #5144:
[AIRFLOW-4377] Remove needless type conversion in DAG.owner()
BasPH commented on a change in pull request #5144: [AIRFLOW-4377] Remove needless type conversion in DAG.owner()
URL: https://github.com/apache/airflow/pull/5144#discussion_r277221466
##########
File path: airflow/models/dag.py
##########
@@ -542,7 +542,12 @@ def folder(self):
@property
def owner(self):
- return ", ".join(list(set([t.owner for t in self.tasks])))
+ """
+ Return list of all owners found in DAG tasks.
+ :return: Comma separated list of owners in DAG tasks
Review comment:
Thanks! Fixed.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services