ryanahamilton commented on a change in pull request #12320:
URL: https://github.com/apache/airflow/pull/12320#discussion_r522418186



##########
File path: airflow/models/dag.py
##########
@@ -661,6 +661,15 @@ def get_last_dagrun(self, session=None, 
include_externally_triggered=False):
             self.dag_id, session=session, 
include_externally_triggered=include_externally_triggered
         )
 
+    @provide_session
+    def has_no_dag_runs(self, session=None, include_externally_triggered=True) 
-> bool:

Review comment:
       I totally agree—not sure what I was thinking 😄




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