bramhanandlingala opened a new pull request, #70437:
URL: https://github.com/apache/airflow/pull/70437

   Fixes the `standard` provider's `BashOperator` entry from the #70296 
exemption-list burn-down.
   
   `bash_command` is a template field, but `__init__` classified it as 
inline-vs-script-file using the raw, un-rendered string — so a templated value 
could be misclassified before Jinja ever rendered it.
   
   - Moved the classification into `execute()`, after templating occurs.
   - `__init__` no longer touches `bash_command`'s content.
   - Removed `BashOperator` from the exemption list.
   - Added a test covering a templated `bash_command` resolving to a script 
file.
   
   Related to #70296


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