seanghaeli commented on code in PR #70312:
URL: https://github.com/apache/airflow/pull/70312#discussion_r3684673392
##########
airflow-core/src/airflow/api_fastapi/execution_api/datamodels/taskinstance.py:
##########
@@ -390,6 +390,10 @@ def safe_extract_from_orm(cls, data: Any) -> Any:
else:
values["note"] = None
+ # A property rather than a column, so the loop above never picks it up.
+ if not insp.detached:
+ values["team_name"] = data.team_name
Review Comment:
@vincbeck We should fix it, which would simply be adding the following line:
`.options(*eager_load_teams(DR.dag_model))`
in line 265 of
[airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py](https://github.com/apache/airflow/blob/7c3e41b63083ce9648235e0a5107b8ff236c7af9/airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py#L261-L266)
--
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]