code: def updateRedirect(self, *args):
      ### Decide whether/where to redirect items and make it so
      cname = str(self.ui.redirectCombo.currentText())
      man = CanvasManager.instance()
      if self.ui.redirectCheck.isChecked() and cname != "":
          redirect = man.getCanvas(cname)
      else:
          redirect = None
  
      if self.redirect is redirect:
          return
  
      self.redirect = redirect
      if redirect is None:
          self.reclaimItems()
      else:
          self.redirectItems(redirect)
  
imports: import gc
  import importlib
  import weakref
  import warnings
  from ..graphicsItems.GridItem import GridItem
  from ..graphicsItems.ROI import ROI
  from ..graphicsItems.ViewBox import ViewBox
  from ..Qt import QT_LIB, QtCore, QtGui, QtWidgets
  from .None import CanvasTemplate_generic
  from .CanvasItem import CanvasItem, GroupCanvasItem
  from .CanvasManager import CanvasManager
label_desc: Use image node_id 6 for calling the Canvas obj's underlying member method code with example usage: obj.updateRedirect() without return types