Attribute¶ class astroid.nodes.Attribute(attrname: str, lineno: int, col_offset: int, parent: NodeNG, *, end_lineno: int | None, end_col_offset: int | None)[source]¶ Bases: NodeNG Class representing an ast.Attribute node. attrname¶ The name of the attribute. expr: NodeNG¶ get_children()[source]¶ Get the child nodes below this node. postinit(expr: NodeNG) → None[source]¶