You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by Wang Yajun <kw...@gmail.com> on 2016/08/03 07:40:27 UTC

The default variable {{ var.value.my_var }} don't exists!

Hi

it seems that the default variable {{ var.value.my_var }} described in this
wiki <https://pythonhosted.org/airflow/code.html#macros> don't exists!

I use it like below:

cmd = "{{  var.value.RS_ENV }}"


my airflow version: 1.7.1.3

Re: The default variable {{ var.value.my_var }} don't exists!

Posted by siddharth anand <sa...@apache.org>.
Please file a bug and provide an example (as you did above!). Also, you are
free to assign the JIRA to yourself and submit a PR with the fix.

-s

On Wed, Aug 3, 2016 at 12:40 AM, Wang Yajun <kw...@gmail.com> wrote:

> Hi
>
> it seems that the default variable {{ var.value.my_var }} described in this
> wiki <https://pythonhosted.org/airflow/code.html#macros> don't exists!
>
> I use it like below:
>
> cmd = "{{  var.value.RS_ENV }}"
>
>
> my airflow version: 1.7.1.3
>