potiuk edited a comment on issue #16037:
URL: https://github.com/apache/airflow/issues/16037#issuecomment-847744371
Agree. Having a good, templated parameter could work. Now when I think obout
it might actually be as simple as adding this to the operator and handling the
case where `requirements` is also a string and properly using it with `-r`/temp
file by the operator in this case:
```
template_fields = ("requirement",)
template_ext = (".txt",)
```
The `template_ext` is one of the lesser-known features of Airflow operators
--
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]