Skip to content

Commit

Permalink
Fix typing for callables
Browse files Browse the repository at this point in the history
  • Loading branch information
Flova committed Apr 5, 2024
1 parent c008a76 commit 43e637b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, Callable

from dynamic_stack_decider.abstract_action_element import AbstractActionElement
from dynamic_stack_decider.abstract_stack_element import AbstractStackElement
Expand All @@ -22,7 +22,7 @@ def __init__(
blackboard,
dsd: "DSD",
actions: list[ActionTreeElement],
init_function: callable[[AbstractTreeElement], AbstractStackElement],
init_function: Callable[[AbstractTreeElement], AbstractStackElement],
):
"""
:param blackboard: Shared blackboard for data exchange and code reuse between elements
Expand Down

0 comments on commit 43e637b

Please sign in to comment.