Skip to content

Commit

Permalink
fix _get_transition_handlers!
Browse files Browse the repository at this point in the history
  • Loading branch information
rerpha committed Jan 13, 2025
1 parent 39a618e commit 27f1e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lewis/devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def _get_initial_state(self) -> State:
"""
raise NotImplementedError("_get_initial_state must be implemented in a StateMachineDevice.")

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

0 comments on commit 27f1e70

Please sign in to comment.