Information about the asset

{% set p_dict = asset.asset_class.project|project_info %}
Project{{ p_dict.get("name") }}
Name {{ asset.name }}
Version {{ asset.version.number or "None" }}
Created by {{ asset.created_by }}
Created at {{ asset.created_at }}
Asset id {{ asset.id }}
Asset class {{ asset.asset_class.name }}
Alias {{ asset.alias or 'None' }}
URL {{ asset.remote_url or "not assigned yet" }}

Status of all the files within the asset

{% for i, obj in asset.objects|enumerate %} {% endfor %}
# Location Content-Type Size Hash Storage Added-By
{{ i+1 }} {{ obj.linked_path|relpath }} {{ obj.content.mime_type }} {{ obj.content.size|kilo_byte }} KB {{ obj.content.hash_type, obj.content.hash_value }} {{ obj.content.storage_id }} {{ obj.created_by }}

Input refs of the asset

{% if asset.refs|length > 0 %} {% for ref in asset.refs %} {% endfor %}
Ref ID Input Asset Label Created By Created At Status
{{ ref.id or 'None' }} {{ ref.src_version.get("name") }} {{ ref.label }} {{ ref.created_by }} {{ ref.created_at }} {{ ref._state }}
{% else %}

No inputs found for this asset.

{% endif %} {# Read the asset file and display the content:

Reading asset files

{% set model=asset.objects.get_with_path('model.yml').file() %}

Model Details from model.yaml

Name {{ model.name }}
alternate_oc {{ model.parameters.alternate_oc }}
ds_layers activation {{ model.parameters.ds_layers.activation }}
ds_layers channels {{ model.parameters.ds_layers.channels }}
ds_layers num layers {{ model.parameters.ds_layers.num_layers }}
#}