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 2021/08/27 16:52:41 UTC

[GitHub] [airflow] philippefutureboy edited a comment on issue #17872: Loading Variables from ENV does not work?

philippefutureboy edited a comment on issue #17872:
URL: https://github.com/apache/airflow/issues/17872#issuecomment-907338410


   Alright, found it:
   
   `{{var.MY_VAR_NAME}}` should be `{{var.value.MY_VAR_NAME}}`:
   
   https://github.com/apache/airflow/blob/83f1f07aff025ed69fa39cc764163ba266c45857/airflow/models/taskinstance.py#L1998-L2001
   
   https://airflow.apache.org/docs/apache-airflow/stable/macros-ref.html?highlight=macros
   
   The oversight is on my side. This thread can be closed/locked.


-- 
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