Published July 2, 2025 | Version 0.9.3
Software Open

pytransitions/transitions: Release 0.9.3

Description

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 to Machine.__init__ and/or Machine.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 a TypedDict which can be used to spot parameter errors during static analysis
    • Machine.add_transitions and Machine.__init__ expect a Sequence of configurations for transitions now
    • Added 'async' callbacks to types in asyncio extension

Files

pytransitions/transitions-0.9.3.zip

Files (1.2 MB)

Name Size Download all
md5:82418bebf1652483736834264f233bfd
1.2 MB Preview Download

Additional details

Related works