Accept NOT operator for State Machine members #26
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Currently, if an action or property write has to executed in all states except one, it must be specified for all those states. However, it would be better to specify it with NOT operator on the specific state where it must not be allowed.
This should translate to not allowing action1 in state3, but allowing it in all other states.
Possible steps include
__bool__
operatorset_state()
methodThe text was updated successfully, but these errors were encountered: