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


##########
airflow/models/taskreschedule.py:
##########
@@ -97,6 +100,38 @@ def __init__(
         self.reschedule_date = reschedule_date
         self.duration = (self.end_date - self.start_date).total_seconds()
 
+    @classmethod
+    def stmt_for_task_instance(
+        cls,
+        ti: TaskInstance,
+        *,
+        try_number: int | None = None,
+        descending: bool = False,
+    ) -> Select:
+        """
+        Return Statement for task reschedules for a given the task instance.

Review Comment:
   ```suggestion
           Return tatement for task reschedules for a given the task instance.
   ```
   
   or just
   
   ```suggestion
           Statement for task reschedules for a given the task instance.
   ```



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