dstandish opened a new pull request #13423:
URL: https://github.com/apache/airflow/pull/13423
The bash operator has dialed in how to run bash commands from python and
airflow.
There are other operators that sometimes need to do this. But for various
reasons, they might not want to inherit from BashOperator. And in this case,
it would be nice if there were a bash hook that would just let you run a bash
command in your operator.
We can also imagine circumstances where perhaps within a single
"BashOperator", maybe you want to run a _series_ of bash commands. Well, if
you have a hook that encapsulates this functionality, then this is very clean
to implement.
WIP cus still need to do some testing, think about some choices, and add
docs.
----------------------------------------------------------------
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]