turbaszek commented on a change in pull request #10729:
URL: https://github.com/apache/airflow/pull/10729#discussion_r485388723



##########
File path: airflow/jobs/base_job.py
##########
@@ -73,6 +72,17 @@ class BaseJob(Base, LoggingMixin):
         Index('idx_job_state_heartbeat', state, latest_heartbeat),
     )
 
+    task_instances_enqueued = relationship(
+        TaskInstance,
+        primaryjoin=id == TaskInstance.queued_by_job_id,
+        foreign_keys=id,
+        backref=backref('queued_by_job', uselist=False),
+    )
+    """TaskInstances which have been enqueued by this Job.

Review comment:
       ```suggestion
       """
       TaskInstances which have been enqueued by this Job.
   ```
   




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to