Skip to content

Commit 27f1e70

Browse files
committed
fix _get_transition_handlers!
1 parent 39a618e commit 27f1e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lewis/devices/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def _get_initial_state(self) -> State:
148148
"""
149149
raise NotImplementedError("_get_initial_state must be implemented in a StateMachineDevice.")
150150

151-
def _get_transition_handlers(self) -> dict[tuple[State, State], Callable[[], bool]]:
151+
def _get_transition_handlers(self) -> dict[tuple[str, str], Callable[[], bool]]:
152152
"""
153153
Implement this method to return transition handlers for the internal state machine.
154154
The keys should be (state, state)-tuples and the values functions that return true

0 commit comments

Comments
 (0)