Last active
February 17, 2020 01:39
-
-
Save dkackman/5ed5862ecc96bf0c6d68477063a92d2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% macro show_node(node) %} | |
{% for key, value in node.__dict__.items() %} | |
<span>{{key}}: </span> | |
{% if True %} <-- not sure what to do here | |
<span>Value: {{value}}</span> | |
{%else%} | |
{{ show_node(value) }} | |
{% endif %} | |
{% endfor %} | |
{% endmacro %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment