Skip to content

Commit eb1e5fa

Browse files
authored
Use SomeEntitiesType for type checking. (#358)
SomeActionsType has now been deprecated. Signed-off-by: Chris Lalancette <[email protected]>
1 parent c08ee60 commit eb1e5fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

launch_ros/launch_ros/event_handlers/on_state_transition.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
from launch.event import Event
2222
from launch.event_handler import EventHandler
23-
from launch.some_actions_type import SomeActionsType
23+
from launch.some_entities_type import SomeEntitiesType
2424
from launch.some_substitutions_type import SomeSubstitutionsType
2525

2626
from ..actions import LifecycleNode
@@ -33,7 +33,7 @@ class OnStateTransition(EventHandler):
3333
def __init__(
3434
self,
3535
*,
36-
entities: SomeActionsType,
36+
entities: SomeEntitiesType,
3737
target_lifecycle_node: LifecycleNode = None,
3838
transition: Optional[SomeSubstitutionsType] = None,
3939
start_state: Optional[SomeSubstitutionsType] = None,

0 commit comments

Comments
 (0)