uranusjr commented on code in PR #31852:
URL: https://github.com/apache/airflow/pull/31852#discussion_r1236603572
##########
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:
The thread mentions adding an explicit field. Maybe this can be worked
around by adding an `operator_name` field in the Marshmallow model?
https://github.com/marshmallow-code/marshmallow-sqlalchemy/issues/97#issuecomment-522765892
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]