code: def __init__(self, op=None, name=None, to=None):
      assert op or name, "Either op or name must be provided"
      assert not (
          op and name
      ), "Either op or name should be provided, but not both"
      assert bool(to), "The to parameter is required"
      self.to = to
      self.op = re.compile(op) if op else None
      self.name = re.compile(name) if name else None
  
imports: import re
  import copy
  from .graph import Node
  from .None import ge
label_desc: Use image node_id 1 to create a new Rename object  with example: obj = Rename(op, name, to)