Skip to content

Commit 43e637b

Browse files
committed
Fix typing for callables
1 parent c008a76 commit 43e637b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dynamic_stack_decider/dynamic_stack_decider/sequence_element.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import TYPE_CHECKING
1+
from typing import TYPE_CHECKING, Callable
22

33
from dynamic_stack_decider.abstract_action_element import AbstractActionElement
44
from dynamic_stack_decider.abstract_stack_element import AbstractStackElement
@@ -22,7 +22,7 @@ def __init__(
2222
blackboard,
2323
dsd: "DSD",
2424
actions: list[ActionTreeElement],
25-
init_function: callable[[AbstractTreeElement], AbstractStackElement],
25+
init_function: Callable[[AbstractTreeElement], AbstractStackElement],
2626
):
2727
"""
2828
:param blackboard: Shared blackboard for data exchange and code reuse between elements

0 commit comments

Comments
 (0)