You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/26 00:04:26 UTC

[GitHub] [airflow] jedcunningham commented on a diff in pull request #25960: Change the template to use human readable task_instance desription

jedcunningham commented on code in PR #25960:
URL: https://github.com/apache/airflow/pull/25960#discussion_r955513487


##########
airflow/example_dags/example_bash_operator.py:
##########
@@ -58,7 +58,7 @@
     # [START howto_operator_bash_template]
     also_run_this = BashOperator(
         task_id='also_run_this',
-        bash_command='echo "run_id={{ run_id }} | dag_run={{ dag_run }}"',
+        bash_command='echo "run_id={{ task_instance_key_str }}"',

Review Comment:
   ```suggestion
           bash_command='echo "ti_key={{ task_instance_key_str }}"',
   ```
   
   Maybe?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org