The current state machine can currently move between any state whenever. Should create a new class which tracks the state and defines the transistions which should be possible. As well as any extra conditions.
Could easily be done by hand but also could use an existing Library - pypi.org/project/transistions/
The current state machine can currently move between any state whenever. Should create a new class which tracks the state and defines the transistions which should be possible. As well as any extra conditions.
Could easily be done by hand but also could use an existing Library - pypi.org/project/transistions/