@staticmethod
def _get_node_artifacts(node):
    """ Get a dict will the node artifacts """
    artifacts_dict = {}
    artifacts = node.type_definition.get_value('artifacts', node.entity_tpl,
        True)
    if artifacts:
        if isinstance(artifacts, dict):
            artifacts_dict = artifacts
        else:
            for elem in artifacts:
                artifacts_dict.update(elem)
    return artifacts_dict
