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

Fixes #582 I tested this with combinations: `on_enter`, `on_enter+on_exit`, `timeout+on_timeout`, and `on_enter+timeout+on_timeout` ```python states = [ { "name": "initial", "on_enter": ["this is odd", "see?"], "on_exit": ["this is odd", "see?"], "timeout":...

**Describe the bug** The last line/label in a node is not left-aligned. ![out](https://user-images.githubusercontent.com/58013020/184221946-046b4e57-8721-4af8-b8cf-c70fc5c2e364.png) **Minimal working example** ```python from transitions.extensions.diagrams import GraphMachine m = GraphMachine( states=[{"name": "initial", "on_enter": ["this is odd",...

bug

Hi, great library!!!! Any plans to add support for mypy? I'm using the library but missing types trigger [this error](https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-library-stubs-or-py-typed-marker) ``` error: Skipping analyzing "transitions": module is installed, but missing...

**Is your feature request related to a problem? Please describe.** This is an RFE for providing python3-transitions packaged into an RPM format. This would make the library easier to consume...

enhancement

Just fix typo ;)

This https://github.com/pytransitions/transitions/pull/579 should fix this problem. **Describe the bug** I wanted to initialise `AsyncTimeout` state with timeout=0, so I can set timeout after initialisation before/after entering state. But trigger is...

bug

## Bug description I wanted to initialise `AsyncTimeout` state with timeout=0, so I can set timeout after initialisation before/after entering state. But trigger is not called after setting timeout >...

There are small typos in: - transitions/extensions/states.py Fixes: - Should read `keyword` rather than `keywork`. - Should read `exceeded` rather than `excheeded`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

I was looking to find if this project had a feature similar to the automatic transitions but going through the intermediary states instead of warping to the final state for...

enhancement