bpod_core.fsm.GlobalCounter

class bpod_core.fsm.GlobalCounter

Bases: BaseModel

A global counter in the state machine.

event: Annotated[str]
model_config: ClassVar[ConfigDict] = {'title': 'Global Counter', 'validate_assignment': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

threshold: Annotated[int]