You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/14 16:41:42 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #15851: Fix import order for task_instance_mutation_hook

kaxil commented on a change in pull request #15851:
URL: https://github.com/apache/airflow/pull/15851#discussion_r632658067



##########
File path: airflow/models/dagrun.py
##########
@@ -626,6 +625,7 @@ def _emit_duration_stats_for_finished_state(self):
 
     @provide_session
     def verify_integrity(self, session: Session = None):
+        from airflow.settings import task_instance_mutation_hook

Review comment:
       Let's change L642 to `settings.task_instance_mutation_hook(ti)` in that case




-- 
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:
users@infra.apache.org