code: def to_Message(self, result=None):
          
          return Message(
              uuid=self.uuid, entrypoint=self.__class__.path, params=self.params,
              result=result if result else self.result, metadata=self.metadata
          )
docs: Entrypoint -> Message
  
          :param kser.result.Result result: Execution result
          :return: Kafka message
          :rtype kser.schemas.Message