You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/15 16:26:47 UTC

[GitHub] [airflow] dstandish commented on a change in pull request #22184: Add run_id and map_index to SlaMiss

dstandish commented on a change in pull request #22184:
URL: https://github.com/apache/airflow/pull/22184#discussion_r827176576



##########
File path: airflow/models/taskinstance.py
##########
@@ -425,6 +425,16 @@ class TaskInstance(Base, LoggingMixin):
 
     dag_run = relationship("DagRun", back_populates="task_instances", lazy='joined', innerjoin=True)
     rendered_task_instance_fields = relationship("RenderedTaskInstanceFields", lazy='noload', uselist=False)
+    sla_miss = relationship(

Review comment:
       can do literal but we can't create FK here because SlaMiss doesn't always have a TI to key to




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org