feluelle commented on a change in pull request #7900: Convert properties with 
query to real methods
URL: https://github.com/apache/airflow/pull/7900#discussion_r399342749
 
 

 ##########
 File path: airflow/ti_deps/deps/prev_dagrun_dep.py
 ##########
 @@ -64,7 +64,7 @@ def _get_dep_statuses(self, ti, session, dep_context):
                     reason="This task instance was the first task instance for 
its task.")
                 return
 
-        previous_ti = ti.previous_ti
+        previous_ti = ti.get_previous_ti()
 
 Review comment:
   ```suggestion
           previous_ti = ti.get_previous_ti(session=session)
   ```

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


With regards,
Apache Git Services

Reply via email to