bpod_core.fsm.States

class bpod_core.fsm.States

Bases: +$'))])], State]

A collection of states.

model_config: ClassVar[ConfigDict] = {'title': 'States'}

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

property transition_targets: set[Annotated[str, FieldInfo(annotation=NoneType, required=True, title='State Name', description='The name of the state', metadata=[MinLen(min_length=1), _PydanticGeneralMetadata(pattern=re.compile('^(?!>)(?!exit$).+$'))])] | Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Operator', description='A state machine operator', metadata=[_PydanticGeneralMetadata(pattern=re.compile('^(exit)|(>.+)$'))])]]