You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/11/18 22:45:58 UTC

[airflow] 04/07: [Doc] Correct description for macro task_instance_key_str (#11062)

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 8482ace0e0157b829db72b9d5fddfd758da699cd
Author: Xiaodong DENG <xd...@hotmail.com>
AuthorDate: Mon Sep 21 22:28:11 2020 +0200

    [Doc] Correct description for macro task_instance_key_str (#11062)
    
    Correction based on code https://github.com/apache/airflow/blob/master/airflow/models/taskinstance.py
    
    (cherry picked from commit 2afb20dffab9cc89244ebe54d6c7a7dd43dd4e63)
---
 docs/macros-ref.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/macros-ref.rst b/docs/macros-ref.rst
index eea8691..3e95e5a 100644
--- a/docs/macros-ref.rst
+++ b/docs/macros-ref.rst
@@ -70,7 +70,7 @@ Variable                                Description
                                         with deserialized JSON object, append the path to the
                                         key within the JSON object
 ``{{ task_instance_key_str }}``         a unique, human-readable key to the task instance
-                                        formatted ``{dag_id}_{task_id}_{ds}``
+                                        formatted ``{dag_id}__{task_id}__{ds_nodash}``
 ``{{ conf }}``                          the full configuration object located at
                                         ``airflow.configuration.conf`` which
                                         represents the content of your