code: def emit(self, signal, kwargs):
          
  
          if "context" in kwargs:
              kwargs["context"] = self._context
  
          if "instance" in kwargs:
              kwargs["instance"] = self.__instances[kwargs["instance"]]
  
          if "plugin" in kwargs:
              kwargs["plugin"] = self.__plugins[kwargs["plugin"]]
  
          pyblish.api.emit(signal, **kwargs)
docs: Trigger registered callbacks
  
          This method is triggered remotely and run locally.
          The keywords "instance" and "plugin" are implicitly
          converted to their corresponding Pyblish objects.