Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | python3-transitions: upgrade 0.9.0 -> 0.9.1 | Wang Mingyu | 2024-05-28 | 1 | -9/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - Fix may_ always returning false for internal transitions - Pass investigated transition to EventData context in 'may' check - Improve the handling of diagrams when working with parallel states, especially when using the show_roi option - Exception is not broad enough and does not catch asyncio.CancelledError or KeyboardInterrupt; use BaseException instead - '_anchor' suffix has been removed for (py)graphviz cluster node anchors - local testing switched from tox to nox - Remove surrounding whitespace from docstrings - Add on_final to Machine and NestedState constructor and final to State. Callbacks passed to on_final will be executed when a State with final=True is entered or all children of a parallel state are final. - Process exceptions with Machine.on_exception in may_ as well - Improved handling of removing transitions for GraphMachine and HiearachicalMachine - Better handling of unset styling in GraphMachine Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||||
* | python3-transitions: Upgrade 0.8.11 -> 0.9.0 | Leon Anavi | 2022-09-08 | 1 | -0/+9 |
Upgrade to release 0.9.0: - Removed legacy implementation of HierarchicalMachine from the package - Fix active state styling in GraphMachine - Fix issues related to scopes and queueing in HierachicalMachine - Reflexive transitions (dest: '=') had not been resolved correctly when source was a wildcard - HSM did not detect reflexive transitions if src was a parent state - Fix implicit fallback to graphviz when pygraphviz was not installed - Fix on_timeout callback resolution when timeout had been initialized with timeout=0 - Last label in GraphSupport was not correctly aligned when show_attributes=True - Feature: Add pyi stub files for better type hinting. Since many functions and constructors allow rather arbitrary arguments time will tell whether typing should be strict (and cause more mypy issues) or more relaxed (and thus less precise). - Reviewed and improved method documentation - Add may transition check to transitions - Refactored error handling to be able to handle MachineError in on_exception callbacks - Add mypy to test workflow - Add Retry state to supported state stereotypes - Machine._identify_callback has been converted to instance method from class method - LockedMachine._get_qualified_state_name has been converted to instance method from static method - Removed _super workaround related to dill License-Update: File changes, the licese remains the same MIT Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> |