potiuk commented on issue #16037:
URL: https://github.com/apache/airflow/issues/16037#issuecomment-847797452


   I thinkl it the same feature we are talking about :). 
   
   The "template_ext" works in the way that it will read the file as string 
when the parameter has the extension registered there and it will automatically 
process the file trough the template engine, so you can add jinja-variables 
from context /xcom variables in the file. It's nuilt-in feature in BaseOperator
   
   All that you need is in this case to have the right extension  (".txt") in 
the value of the parameter.
   
   ```
   requirements="[<path>/]reqiurements.txt"
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to