Commit Graph

1 Commits

Author SHA1 Message Date
Leon Anavi
04849afa78 python3-transitions: Upgrade 0.8.7 -> 0.8.8
Upgrade to release 0.8.8:

- AsyncMachine does not remove models when remove_models is called
- Introduce try/except for finalize callbacks in Machine and
  HierachicalMachine. Thus, errors occurring in finalize callbacks
  will be suppressed and only the original error will be raised.
- Show references in graphs and markup. Introduce
  MarkupMachine.format_references to tweak reference formatting
- Introduce Machine.on_exception to handle raised exceptions in
  callbacks
- Machine.get_triggers now supports State and Enum as arguments
- NestedState and HierachicalMachine.add_states now accept (lists
  of) states and enums as initial parameter

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
(cherry picked from commit dce8ef5add)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-04-08 13:13:29 -07:00