{% with tables = jinja.get("tables", {}) %} {% if "right" in tables and "columns" in tables["right"] %} {% for col in tables["right"]["columns"] -%} {% endfor %} {% endif %} {% if "right" in tables and "columns" in tables["right"] and "data" in tables["right"] %} {% for edge in tables["right"]["data"] if edge["table"] == "right" -%} {% for col in tables["right"]["columns"] -%} {% endfor %} {% endfor %} {% endif %} {% if "right" in tables and "columns" in tables["right"] %} {% for col in tables["right"]["columns"] -%} {% endfor %} {% endif %}
{{ col.get("label", col["field"]) if isinstance(col, dict) else col }}
{{ edge[col["field"] if isinstance(col, dict) else col] }}
{{ col.get("label", col["field"]) if isinstance(col, dict) else col }}
{% endwith %}