DataRenameComponentMessage

DataRenameComponentMessage#

class glue.core.message.DataRenameComponentMessage(sender, component_id, tag=None, old_label=None)[source]#

Bases: DataMessage

Message sent when a component is renamed.

The component_id attribute is the renamed component, whose label is already the new label, and old_label is the label it had before the rename (or None if not known).

Create a new message

Parameters:
  • sender – The object sending the message

  • tag – An optional string describing the message