# Node

class canlib.kvadblib.Node(db, handle, name=None, comment=None)

  Database Node

  attributes()

    Return a generator over all message attributes.

  property comment

    The node’s comment

    Type

      `str`

  delete_attribute(name)

    Delete attribute from node.

  get_attribute_value(name)

    Return attribute value

    If the attribute is not set on the message, we return the attribute definition default value.

  property name

    The node’s name

    Type

      `str`

  set_attribute_value(name, value)

    Set value of attribute ‘name’ on node.

    If no attribute called ‘name’ is set on node, attach a node attribute from the database attribute definition first.