yasmin_demos.bar_state module

class yasmin_demos.bar_state.BarState(*args: Any, **kwargs: Any)

Bases: State

Represents the Bar state in the state machine.

execute(blackboard: yasmin.Blackboard) str

Executes the logic for the Bar state.

Args:

blackboard (Blackboard): The shared data structure for states.

Returns:

str: The outcome of the execution, which will always be “outcome3”.

Raises:

Exception: May raise exceptions related to state execution.