hussein-awala commented on PR #29821: URL: https://github.com/apache/airflow/pull/29821#issuecomment-1802930988
> But how does this PR help solve the rendering issue? Most of these attributes should not be used as a templated field, so the PR helped quickly fail the dag parsing instead of falling in runtime. > I'm still not convinced of the need for this change Most of the BaseOperator fields are used in parsing time and not runtime, for example, execution_date, priority_weight, the different callbacks, the different dependencies params, retry params, and the pool (I don't know why you think it could be templated, it's used to see if we can queue the task or not, so before executing the job), and even doc_md which is a tasks param more than task instance param. For the email, we used it in the TaskInstance class when the TI fails, so after executing it, it's ok to exclude it. I'm not sure if we can exclude the other params; as I mentioned, most of them are used by the scheduler, executor, or webserver before executing the task. -- 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]
