def get_call_name(self, node):
        """
        Return call name for the given node.
        """
        if isinstance(node.func, ast.Attribute):
            return node.func.attr
        elif isinstance(node.func, ast.Name):
            return node.func.id
def get_call_name ( self , node ) : if isinstance ( node . func , ast . Attribute ) : return node . func . attr elif isinstance ( node . func , ast . Name ) : return node . func . id
Return call name for the given node.