launch.actions.unset_launch_configuration module

Module for the UnsetLaunchConfiguration action.

class launch.actions.unset_launch_configuration.UnsetLaunchConfiguration[source]

Bases: Action

Action that unsets a launch configuration by name.

If the given launch configuration name is no set already then nothing happens.

/sa launch.actions.SetLaunchConfiguration

__init__(name: str | Path | Substitution | Iterable[str | Path | Substitution], **kwargs) None[source]

Create an UnsetLaunchConfiguration action.

execute(context: LaunchContext)[source]

Execute the action.

property name: List[Substitution]

Getter for self.__name.