code: def get_object(self, g=None):
      parents = tuple(uncan(p, g) for p in self.parents)
      return type(
          self.name, parents, uncan_dict(self._canned_dict, g=g)
      )
  
imports: import warnings
  import copy
  import sys
  from types import FunctionType
  from ipython_genutils import py3compat
  from ipython_genutils.importstring import import_item
  from ipython_genutils.py3compat import string_types, iteritems, buffer_to_bytes, buffer_to_bytes_py2
  from traitlets.log import get_logger
label_desc: Use image node_id 3 for calling the CannedClass obj's underlying member method code with example usage: obj.get_object(g) and returns: type