code: def _restore(name, fields, value):
      
      k = (name, fields)
      cls = __cls.get(k)
      if cls is None:
          cls = collections.namedtuple(name, fields)
          __cls[k] = cls
      return cls(*value)
docs: Restore an object of namedtuple