def publish_request(liveaction, execution):
 LiveAction.publish_create(liveaction)
 LiveAction.publish_status(liveaction)
 ActionExecution.publish_create(execution)
 extra = {'liveaction_db': liveaction, 'execution_db': execution}
 LOG.audit(('Action execution requested. LiveAction.id=%s, ActionExecution.id=%s' % (liveaction.id, execution.id)), extra=extra)
 return (liveaction, execution)

def publish_request ( liveaction , execution ) : LiveAction . publish_create ( liveaction ) LiveAction . publish_status ( liveaction ) ActionExecution . publish_create ( execution ) extra = { 'liveaction_db' : liveaction , 'execution_db' : execution } LOG . audit ( ( 'Action execution requested. LiveAction.id=%s, ActionExecution.id=%s' % ( liveaction . id , execution . id ) ) , extra = extra ) return ( liveaction , execution )
publish an action execution .