mobuchowski commented on code in PR #32716:
URL: https://github.com/apache/airflow/pull/32716#discussion_r1272290431


##########
airflow/models/taskinstance.py:
##########
@@ -1651,16 +1646,23 @@ def signal_handler(signum, frame):
                 )
 
             # Run pre_execute callback
-            self.task.pre_execute(context=context)
+            # Is never MappedOperator at this point
+            self.task.pre_execute(context=context)  # type: ignore[union-attr]

Review Comment:
   @uranusjr I'm actually going by your code 😉  - render templates is just 
before that.
   
   
https://github.com/apache/airflow/commit/5560a46bfe8a14205c5e8a14f0b5c2ae74ee100c



-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to