Accept NOT operator for State Machine members #26
Labels
good first issue
Good for newcomers
intermediate
intermediate level good first issues, might be little harder to complete
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: