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.')

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