You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(io): materialize transition validators from dict definitions
create_machine_class_from_definition threaded cond/unless/on/before/after
into Transition(), but dropped validators — so a 'validators' entry in a
dict/JSON definition was silently ignored and never ran at send(). The
TransitionDict TypedDict also mistyped validators as bool.
Pass validators through to Transition() and fix the type to the same
callback-spec union as cond/unless. Adds a regression test proving a
definition-supplied validator runs (and aborts) on send().
Closes #<issue>.
Signed-off-by: Christian Sentis <christian.sentis@icloud.com>
0 commit comments