Method: pylint.pyreverse.inspector.OtherAssociationsHandler.handle
Calls: 31, Exceptions: 0, Paths: 1Back
Path 1: 31 calls (1.0)
AssignAttr (31)
ClassDef (31)
1def handle(self, node: nodes.AssignAttr, parent: nodes.ClassDef) -> None:
2 current = set(parent.associations_type[node.attrname])
3 parent.associations_type[node.attrname] = list(current | utils.infer_node(node))