pierrejeambrun commented on code in PR #26658:
URL: https://github.com/apache/airflow/pull/26658#discussion_r1021865946


##########
airflow/www/views.py:
##########
@@ -2025,12 +2029,14 @@ def _clear_dag_tis(
         ]
     )
     @action_logging
-    def clear(self):
-        """Clears the Dag."""
+    @provide_session
+    def clear(self, session: Session = NEW_SESSION):

Review Comment:
   Done, thanks.
   
   Maybe I should update similar functions in this file to be consistent ? i.e 
`extra_links`, `rendered_k8s`, 



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