Instructions
This is a Python object inspector. Information is color-coded:
- Field name, list index, or dict key
- Value or summary of a variable.
- Type of a variable. Mouse hover will show full type with module name
{% macro span_segment(kind, short_content, content) -%}
{% if short_content %}
{{short_content | e}}
{% endif %}
{%- endmacro %}
{% macro li_node(nd) -%}
{{ span_segment("name", nd.name, nd.name) }}
{{ span_segment("type", nd.short_type, nd.full_type) }}
{{ span_segment("value", nd.value, nd.value) }}
{% for c in nd.children %}
{{li_node(c)}}
{% endfor %}
{%- endmacro %}
{{ name }}