{% for id, prov in value|items %}
{% for output_name, qa_dict in prov.OutputQA|items %}
Container:
{{ prov.Container.url }}
{{ prov.Container.hash }}
Built: {{ prov.Container.timestamp.strftime('%Y-%m-%d %H:%M:%S') }} by {{ prov.Container.builder }}
Run Info:
Started: {{ prov.StartTime }}
Duration: {{ prov.Duration }}
User: {{ prov.User }}
Inputs:
{% for key, value in prov.Inputs|items %}
{% if value is iterable and value is not string %}
{{ key }}:
{% for sub in value %}
{% set val = sub.split(':') %}
- {{ val[0] }}
[{{ val[1] }}:{{ val[2] }}]
{% endfor %}
{% else %}
{% set val = value.split(':') %}
{{ key }}: {{ val[0] }}
[{{ val[1] }}:{{ val[2] }}]
{% endif %}
{% endfor %}
Outputs:
{% for key, value in prov.Outputs|items %}
{% if value is iterable and value is not string %}
{{ key }}:
{% for sub in value %}
{% set val = sub.split(':') %}
- {{ val[0] }}
[{{ val[1] }}:{{ val[2] }}]
{% endfor %}
{% else %}
{% set val = value.split(':') %}
{{ key }}: {{ val[0] }}
[{{ val[1] }}:{{ val[2] }}]
{% endif %}
{% endfor %}
Parameters:
{% if prov.Parameters is mapping %}
{% for key, value in prov.Parameters|items %}
{% if value is iterable and value is not string %}
{{ key }}:
{% for sub in value %}
- {{ sub }}
{% endfor %}
{% else %}
{{ key }}: {{ value }}
{% endif %}
{% endfor %}
{% else %}
None
{% endif %}
Command:
{{ prov.Command }}