def METHOD_NAME(self, node_def: Any) -> List[Attribute]:
    """Convert NodeDef attributes to our format."""
    attributes = []
    for attribute_name in node_def.attr:
        converted_attribute = self._convert_attribute(
            attribute_name,
            node_def.attr[attribute_name],
        )
        if converted_attribute is not None:
            attributes.append(converted_attribute)
    return attributes