ffinfo commented on a change in pull request #4396: [AIRFLOW-3585] - Add edges 
to database
URL: https://github.com/apache/airflow/pull/4396#discussion_r257132348
 
 

 ##########
 File path: airflow/models/__init__.py
 ##########
 @@ -2812,16 +2821,39 @@ def get_default_view(self):
             return self.default_view
 
     @provide_session
-    def get_last_dagrun(self, session=None, 
include_externally_triggered=False):
-        return get_last_dagrun(self.dag_id, session=session,
-                               
include_externally_triggered=include_externally_triggered)
+    def get_last_dagrun(self, include_externally_triggered=False, 
session=None):
 
 Review comment:
   Well only did this because In most methods session is in the end, just for 
consistency.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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