-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is defined
and is none
are not working for environment variables
#68
Comments
I just tested locally and it works fine with
Can you try against the master branch maybe? I haven't tagged a release in a bit ( not sure why ), and maybe something changed on master related to this? I don't personally use this feature, but can confirm in my testing right now that it behaves as I'd expect. |
Follow up update on this... I noticed that if I set it to
|
I can't support You can also just do |
Thanks for the explanation! Oh boy... I apologize for my lack of understanding. I don't know much Python at all and I am coming from an Ansible background. That's were I got my After your explanation, and your suggestion to use Sorry for the confusion. My brain was operating like mashed potatoes and I was writing code for too long 😀. I had a battle like this going on in my head: https://www.youtube.com/watch?v=HtTZ43jCfKQ Cheers @mattrobenolt! Thanks for maintaining this project! |
Hello,
Thank you for putting this handy tool together! Today I noticed that some of my blocks are displaying even though my environment variables are not defined.
My environment:
Output of
jinja2 --version
:Here is my
test.j2
:With
is defined
set:I even attempted to follow this #31 (comment) and set it to
is none
:Command I am executing:
Expected results of
test.txt
:Actual results of
test.txt
:Any thoughts would be appreciated!
The text was updated successfully, but these errors were encountered: