Skip to content

Commit 13ce61b

Browse files
authored
Correct type hint for _get_initial_state()
1 parent 39a618e commit 13ce61b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lewis/devices/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def _get_state_handlers(self) -> dict[str, State]:
139139
"_get_state_handlers must be implemented in a StateMachineDevice."
140140
)
141141

142-
def _get_initial_state(self) -> State:
142+
def _get_initial_state(self) -> str:
143143
"""
144144
Implement this method to return the initial state of the internal state machine.
145145
The default implementation raises a ``NotImplementedError``.

0 commit comments

Comments
 (0)