code: def _rehydrate_skeleton_class(skeleton_class, class_dict):
      
      registry = None
      for attrname, attr in class_dict.items():
          if attrname == "_abc_impl":
              registry = attr
          else:
              setattr(skeleton_class, attrname, attr)
      if registry is not None:
          for subclass in registry:
              skeleton_class.register(subclass)
  
      return skeleton_class
docs: Put attributes from `class_dict` back on `skeleton_class`.
  
      See CloudPickler.save_dynamic_class for more info.