def send_event(event, users):
 queue_json_publish('notify_tornado', dict(event=event, users=users), send_notification_http)

def send_event ( event , users ) : queue_json_publish ( 'notify_tornado' , dict ( event = event , users = users ) , send_notification_http )
users is a list of user ids .