jason810496 commented on code in PR #54820:
URL: https://github.com/apache/airflow/pull/54820#discussion_r2293925863


##########
airflow-core/src/airflow/models/dagwarning.py:
##########
@@ -47,6 +48,8 @@ class DagWarning(Base):
     message = Column(Text, nullable=False)
     timestamp = Column(UtcDateTime, nullable=False, default=timezone.utcnow)
 
+    dag = relationship("DagModel", viewonly=True, lazy="selectin")

Review Comment:
   In previous PRs for "Alias `dag_display_name` for Entity", we name the 
`relationship` as `dag_model` instead of `dag`.
   it would be nice to make the naming more consistent.
   
   ```suggestion
       dag_model = relationship("DagModel", viewonly=True, lazy="selectin")
   ```



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