mik-laj 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_r277183605
 
 

 ##########
 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:
   You should add new line after description. Otherwise, the documentation will 
not generate properly

----------------------------------------------------------------
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

Reply via email to