pierrejeambrun commented on code in PR #60208:
URL: https://github.com/apache/airflow/pull/60208#discussion_r2668529428
##########
airflow-core/src/airflow/models/log.py:
##########
@@ -49,18 +50,18 @@ class Log(Base):
extra = Column(Text)
try_number = Column(Integer)
- dag_model = relationship(
+ dag_model: Mapped[DagModel | None] = relationship(
"DagModel",
viewonly=True,
foreign_keys=[dag_id],
primaryjoin="Log.dag_id == DagModel.dag_id",
)
- task_instance = relationship(
+ task_instance: Mapped[TaskInstance | None] = relationship(
Review Comment:
Yes, must be these sqlalchemy2.0 annotation type that CI is not happy about.
--
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]