transitions icon indicating copy to clipboard operation
transitions copied to clipboard

A lightweight, object-oriented finite state machine implementation in Python with many extensions

Results 44 transitions issues
Sort by recently updated
recently updated
newest added

Calling `machine.initial = 'start'` changes `self._initial` but doesn't change the actual initial state. **Minimal working example** ```python def test_initial(self): import transitions as sm machine = sm.Machine() assert machine.state == 'initial'...

bug

Thank you for taking the time to report a bug! Your support is essential for the maintenance of this project. Please fill out the following fields to ease bug hunting...

bug

Running mypy with: ```toml [tool.mypy] # ... ignore_missing_imports = false # ... ``` ``` src/app/root_machine.py:6: error: Skipping analyzing "transitions": module is installed, but missing library stubs or py.typed marker [import]...

enhancement

Using the `NarcolepticSuperhero` pattern fails when trying to also set `on_exception` or `before_state_change` callbacks: ```python class Automator(): # ... removed for brevity ... def __init__(self): """ Create a new Automator....

I'm trying to use transistions to implment a scheduler for distributed system. Let's say, there are three participants `A, B, C` in a distrubted task; scheduler runs on each participant...

enhancement

Thank you for taking the time to report a bug! Your support is essential for the maintenance of this project. Please fill out the following fields to ease bug hunting...

bug

**graphviz is not used as fallback** if pygraphviz is not available, an error is thrown. In Version 8.1 'graphviz' was used as a fallback. **Minimal working example** ```python from transitions.extensions...

bug

Right now, states must be direct descendants from the same state to be entered in parallel. It would be a significant improvement if this restriction could be lifted. For instance,...

enhancement
help wanted

Finally, [SCXML](https://www.w3.org/TR/scxml/) is now complete for adoption. Adding support for SCXMl will allow standardisation.

enhancement
help wanted
feedback wanted

Thank you for taking the time to report a bug! Your support is essential for the maintenance of this project. Please fill out the following fields to ease bug hunting...

bug