Skip to content

Commit 3e94687

Browse files
committed
fix docs
1 parent 0501635 commit 3e94687

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

airflow-core/docs/faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,9 @@ How to avoid version inflation
361361
362362
from airflow.providers.standard.operators.bash import BashOperator
363363
364-
# GOOD: the template is resolved at execution time, not parse time
365364
BashOperator(
366365
task_id="echo_date",
366+
# GOOD: the template is resolved at execution time, not parse time
367367
bash_command="echo {{ ds }}",
368368
)
369369
@@ -373,9 +373,9 @@ How to avoid version inflation
373373
374374
from airflow.providers.standard.operators.bash import BashOperator
375375
376-
# GOOD: Variable is resolved at execution time via template
377376
BashOperator(
378377
task_id="echo_var",
378+
# GOOD: Variable is resolved at execution time via template
379379
bash_command="echo {{ var.value.my_variable }}",
380380
)
381381

0 commit comments

Comments
 (0)