def attr_attributes_transform(node):
<EOL>node.locals["<STR_LIT>"] = [astroid.Unknown(parent=node)]<EOL>for cdefbodynode in node.body:<EOL><INDENT>if not isinstance(cdefbodynode, astroid.Assign):<EOL><INDENT>continue<EOL><DEDENT>if isinstance(cdefbodynode.value, astroid.Call):<EOL><INDENT>if cdefbodynode.value.func.as_string() not in ATTRIB_NAMES:<EOL><INDENT>continue<EOL><DEDENT><DEDENT>else:<EOL><INDENT>continue<EOL><DEDENT>for target in cdefbodynode.targets:<EOL><INDENT>rhs_node = astroid.Unknown(<EOL>lineno=cdefbodynode.lineno,<EOL>col_offset=cdefbodynode.col_offset,<EOL>parent=cdefbodynode,<EOL>)<EOL>node.locals[target.name] = [rhs_node]<EOL><DEDENT><DEDENT>
Given that the ClassNode has an attr decorator,
    rewrite class attributes as instance attributes