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: widen type annotations for compound/parallel state transitions (#580)
* fix: widen type annotations for compound/parallel state transitions
NestedStateFactory.__new__ returns a State instance at runtime, but mypy
sees class Foo(State.Compound) as type[Foo]. Accept NestedStateFactory in
the union type of _ToState, _FromState, and the metaclass stubs so that
compound/parallel states work as transition targets without type: ignore.
Also includes: ai_shell example, invoke/error.execution engine support,
event id helpers, and related test coverage.
0 commit comments