Rename publish_event_from_python to publish_event_from_dict