bobocep.cep.action.common.multi.BoboActionMulti

class bobocep.cep.action.common.multi.BoboActionMulti(name: str, *args, **kwargs)[source]

Bases: bobocep.cep.action.action.BoboAction, abc.ABC

An abstract multi action.

__init__(name: str, *args, **kwargs)[source]
Parameters
  • name – The action name.

  • args – Action arguments.

  • kwargs – Action keyword arguments.

abstract execute(event: bobocep.cep.event.complex.BoboEventComplex) Tuple[bool, Any]
Parameters

event – The complex event that triggered the action.

Returns

A tuple containing: whether the action execution was successful; and any additional data.

property name: str
Returns

Action name.