code: def from_json(cls, plugin):
          
  
          process = None
          repair = None
  
          name = plugin["name"] + "Proxy"
          cls = type(name, (cls,), plugin)
  
          # Emulate function
          for name in ("process", "repair"):
              args = ", ".join(plugin["process"]["args"])
              func = "def {name}({args}): pass".format(name=name,
                                                       args=args)
              exec(func)
  
          cls.process = process
          cls.repair = repair
  
          cls.__orig__ = plugin
  
          return cls
docs: Build PluginProxy object from incoming dictionary
  
          Emulate a plug-in by providing access to attributes
          in the same way they are accessed using the remote object.
          This allows for it to be used by members of :mod:`pyblish.logic`.