def _get_node(self):
    """Outdated method to access the node value; use the label() method instead."""
raise NotImplementedError('Use label() to access a node label.')
"NotImplementedError: Use label() to access a node label"