{# -*- coding: utf-8 -*- Copyright (C) 2022-2023 Graz University of Technology. invenio-records-lom is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- macro make_dep_tree(relations, kind, rel_msg) -%} {% for relation in relations | selectattr("kind.value", "equalto", kind) -%} {% for identifier in relation.resource.identifier | selectattr("catalog", "equalto", "repo-pid") -%} {#