#NEWLINE# @ staticmethod #NEWLINE# def _invoke_action( action_exec_spec , params , context = None ) : #NEWLINE# #INDENT# '\n        Schedule an action execution.\n\n        :type action_exec_spec: :class:`ActionExecutionSpecDB`\n\n        :param params: Parameters to execute the action with.\n        :type params: ``dict``\n\n        :rtype: :class:`LiveActionDB` on successful schedueling, None otherwise.\n        ' #NEWLINE# action_ref = action_exec_spec [ 'ref' ] #NEWLINE# params = action_param_utils . cast_params ( action_ref , params ) #NEWLINE# liveaction = LiveActionDB ( action = context , context = context , parameters = params ) #NEWLINE# ( liveaction , execution ) = action_service . request ( liveaction ) #NEWLINE# return execution