utkarsharma2 commented on code in PR #31852:
URL: https://github.com/apache/airflow/pull/31852#discussion_r1236833052


##########
airflow/www/views.py:
##########
@@ -3083,6 +3083,8 @@ class GraphForm(DateTimeWithNumRunsWithDagRunsForm):
         for ti in dag.get_task_instances(dttm, dttm):
             if ti.task_id not in task_instances:
                 task_instances[ti.task_id] = 
wwwutils.get_instance_with_map(ti, session)
+                # Need to add operator_name explicitly because it's not a 
column in task_instances model.
+                task_instances[ti.task_id]["operator_name"] = ti.operator_name

Review Comment:
   @uranusjr AFAIK, I don't think we are generating `Marshmallow` models 
directly, it's done `flask_appbuilder/api/convert.py`. Is there any other way 
that I'm not aware of?



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

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to