bobocep.cep.action.handler.BoboHandlerResponse

class bobocep.cep.action.handler.BoboHandlerResponse(action_name: str, complex_event: BoboEventComplex, success: bool, data: Any)[source]

Bases: NamedTuple

A handler response to action execution.

__init__()
action_name: str

Alias for field number 0

complex_event: BoboEventComplex

Alias for field number 1

count(value, /)

Return number of occurrences of value.

data: Any

Alias for field number 3

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

success: bool

Alias for field number 2