Release 0.9.3 is a minor release and contains mostly bugfixes and some typing improvements.
- Bug #682:
AsyncTimeout
did not stop execution (thanks @matt3o) - Bug #683: Typing wrongly suggested that
Transition
instances can be passed toMachine.__init__
and/orMachine.add_transition(s)
(thanks @antonio-antuan) - Bug #692: When adding an already constructed
NestedState
, FunctionWrapper was not properly initialized (thanks @drpjm) - Bug #701:
Machine.dispatch
should not short-circuit when a model returns False (thanks @Joshuaalbert) - Typing should be more precise now
- Made
transitions.core.(Async)TransitionConfigDict
aTypedDict
which can be used to spot parameter errors during static analysis Machine.add_transitions
andMachine.__init__
expect aSequence
of configurations for transitions now- Added 'async' callbacks to types in
asyncio
extension
- Made