def clean_node(self, node: str) -> str:
        """
        Args:
            node: node in string format.

        """
        node = re.sub(self.property_pattern, "", node)
        node = node.replace("(", "")
        node = node.replace(")", "")
        return node.strip()

        Args:
            node: node in string format.

        
llama-index-integrations/tools/llama-index-tools-neo4j/llama_index/tools/neo4j/query_validator.py