uranusjr commented on code in PR #41818:
URL: https://github.com/apache/airflow/pull/41818#discussion_r1743360651


##########
airflow/www/utils.py:
##########
@@ -521,7 +521,7 @@ def dag_run_link(attr):
 
 
 def _get_run_ordering_expr(name: str) -> ColumnOperators:
-    expr = DagRun.__table__.columns[name]
+    expr = DagRun.__mapper__.columns[name]

Review Comment:
   `__table__` uses the real column names, while `__mapper__` gives the names 
on the model class.



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

Reply via email to