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/09/25 15:55:44 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #18516: Fix rendering nested task fields

potiuk commented on a change in pull request #18516:
URL: https://github.com/apache/airflow/pull/18516#discussion_r716058439



##########
File path: airflow/models/taskinstance.py
##########
@@ -1385,6 +1385,7 @@ def _prepare_and_execute_task_with_callbacks(self, context, task):
 
         task_copy = task.prepare_for_execution()
         self.task = task_copy
+        context['task'] = self.task

Review comment:
       And remove _prepare from the name - yeah - would be cleaner.,




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org