airflow.providers.standard.decorators.bash¶
Functions¶
|
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 (collections.abc.Callable | None) – Function to decorate.