Created
October 12, 2019 20:49
-
-
Save schrockn/7f63231f4df7b8bc90d60453693cdb79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
templated_command = """ | |
{% for i in range(5) %} | |
echo "{{ ds }}" | |
{% endfor %} | |
""" | |
t3 = BashOperator( | |
task_id='templated', | |
bash_command=templated_command, | |
dag=dag) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment