airflow.providers.standard.decorators.bash

Functions

bash_task([python_callable])

Wrap a function into a BashOperator.

Module Contents

airflow.providers.standard.decorators.bash.bash_task(python_callable=None, **kwargs)[source]

Wrap a function into a BashOperator.

Accepts kwargs for operator kwargs. Can be reused in a single DAG. This function is only used only used during type checking or auto-completion.

Parameters:

python_callable (Callable | None) – Function to decorate.

Was this entry helpful?