ashb commented on a change in pull request #5372: [AIRFLOW-3057] add prev_*_date_success to template context URL: https://github.com/apache/airflow/pull/5372#discussion_r291059934
########## File path: airflow/models/taskinstance.py ########## @@ -516,7 +520,7 @@ def are_dependents_done(self, session=None): return count == len(task.downstream_task_ids) @provide_session - def _get_previous_ti(self, session=None): + def _get_previous_ti(self, session: Session = None, state: str = None) -> Optional['TaskInstance']: Review comment: `session` last please. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services