coufon commented on a change in pull request #5743: [AIRFLOW-5088][AIP-24] 
Persisting serialized DAG in DB for webserver scalability
URL: https://github.com/apache/airflow/pull/5743#discussion_r313039084
 
 

 ##########
 File path: airflow/www/views.py
 ##########
 @@ -1328,7 +1331,7 @@ def set_duration(tid):
         external_logs = conf.get('elasticsearch', 'frontend')
         return self.render_template(
             'airflow/tree.html',
-            operators=sorted({op.__class__ for op in dag.tasks}, key=lambda x: 
x.__name__),
+            operators=sorted({op for op in dag.tasks}, key=lambda x: 
x.task_type),
 
 Review comment:
   Already updated graph.html and tree.html. Use `op.task_type` instead of 
`op.__name__`.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to