launch.actions.push_environment module

Module for the PushEnvironment action.

class launch.actions.push_environment.PushEnvironment[source]

Bases: Action

Action that pushes the current environment to a stack.

The state can be restored by popping the stack with the launch.actions.PopEnvironment action.

__init__(**kwargs) None[source]

Create a PushEnvironment action.

execute(context: LaunchContext)[source]

Execute the action.