def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def rpc_send_message(orchestrator, audit_name, message):

    # Enqueue the ACK message.
    orchestrator.enqueue_msg(message)