abhishekbhakat commented on issue #54771:
URL: https://github.com/apache/airflow/issues/54771#issuecomment-3532007997

   > [@abhishekbhakat](https://github.com/abhishekbhakat) Can we see the stack 
trace please? Part of the issue is start_date and End_date have special meaning 
to Airflow and cant be templated.
   > 
   > But as you show in your example where `args` is all that is templated I'm 
surprised by the change needed or the error.
   > 
   > Is this example 100% representative?
   
   https://github.com/apache/airflow/issues/29819 has all the stack trace.
   
   We don't have proper guardrails to stop users from templating start_date and 
end_date. Many users have tried the method of extending the operator and making 
it a templatable field. This shows that there is an ask from users.
   We can either:
   - force fail the dag if we find user trying to make it dynamic
   - or add a dry rendering at the time of deserialization to allow templating.
   
   I went with the 2nd option as that's what users were asking.


-- 
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]

Reply via email to