launch.conditions.launch_configuration_equals module

Module for LaunchConfigurationEquals class.

class launch.conditions.launch_configuration_equals.LaunchConfigurationEquals[source]

Bases: Condition

Condition on the value of a launch configuration.

This condition takes an optional string expression that is compared with the value of a launch configuration. If the value is equal to the launch configuration value, then this Condition evaluates to True. The expression may consist of launch.Substitution instances.

If None is provided instead of a string expression, then the condition evaluates to True if the launch configuration is not set.

Deprecated since version 1.1.0: Replaced by the more universally usable substitutions: ‘EqualsSubstitution’ and ‘NotEqualsSubstitution’

__init__(launch_configuration_name: str, expected_value: str | Path | Substitution | Iterable[str | Path | Substitution] | None) None[source]
describe() str[source]

Return a description of this Condition.