You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/02/12 09:55:54 UTC
[airflow] branch master updated (1b14726 -> 59e33c1)
This is an automated email from the ASF dual-hosted git repository.
ash pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git.
from 1b14726 Allow AWS Operator RedshiftToS3Transfer To Run a Custom Query (#14177)
add 59e33c1 Add SubprocessHook for running commands from operators (#13423)
No new revisions were added by this update.
Summary of changes:
airflow/example_dags/example_bash_operator.py | 3 +-
airflow/hooks/subprocess.py | 92 ++++++++++++++++++++++++
airflow/operators/bash.py | 81 +++++++--------------
airflow/operators/bash_operator.py | 2 +-
tests/hooks/test_subprocess.py | 100 ++++++++++++++++++++++++++
tests/operators/test_bash.py | 63 ++++++----------
6 files changed, 241 insertions(+), 100 deletions(-)
create mode 100644 airflow/hooks/subprocess.py
create mode 100644 tests/hooks/test_subprocess.py