def get_nodes_by_type(self, nodetype):
        nodes = []
        for node in self:
            nodes.extend(node.get_nodes_by_type(nodetype))
        return nodes
Return a list of all nodes of the given type
dataset/ETHPy150Open dcramer/django-compositepks/django/template/__init__.py/NodeList.get_nodes_by_type