code: def publish_event_from_dict(self, event_type, data):
          
          for key, value in self.additional_publish_event_data.items():
              if key in data:
                  return {'result': 'error', 'message': 'Key should not be in publish_event data: {}'.format(key)}
              data[key] = value
  
          self.runtime.publish(self, event_type, data)
          return {'result': 'success'}
docs: Combine 'data' with self.additional_publish_event_data and publish an event