yuqian90 commented on issue #7324: [AIRFLOW-6704] Copy common TaskInstance attributes from Task URL: https://github.com/apache/airflow/pull/7324#issuecomment-583727410 @ashb I actually noticed some similar issues for other attributes too. For example, if the `pool` of an existing task is changed in the DAG code, there's no way to clear existing `TaskInstance` and re-run them in the new pool. So I extracted the repeated code that sets `TaskInstance` attributes from task into a function `refresh_from_task()` and used it everywhere. Please take another look.
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services