Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BashOperator: Execute templated bash script as file #42783

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: docstring typo
  • Loading branch information
joffreybienvenu-infrabel committed Oct 19, 2024
commit 4a1079a7fae52c0e6e95f2984f6db2b47723e63f
2 changes: 1 addition & 1 deletion providers/src/airflow/providers/standard/operators/bash.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class BashOperator(BaseOperator):

.. note::

To simply execute a ``.sh`` or ``.bash`` script (without any Jinja template), ddd a space after the
To simply execute a ``.sh`` or ``.bash`` script (without any Jinja template), add a space after the
script name ``bash_command`` argument -- for example ``bash_command="my_script.sh "``. This
is because Airflow tries to load this file and process it as a Jinja template when
it ends with ``.sh`` or ``.bash``.
Expand Down