launch.substitutions.equals_substitution module
Module for the EqualsSubstitution substitution.
- class launch.substitutions.equals_substitution.EqualsSubstitution[source]
Bases:
SubstitutionSubstitution that checks if two inputs are equal.
Returns ‘true’ or ‘false’ strings depending on the result.
- __init__(left: Any | Iterable[Any] | None, right: Any | Iterable[Any] | None) None[source]
Create an EqualsSubstitution substitution.
- property left: List[Substitution]
Getter for left.
- classmethod parse(data: Sequence[str | Path | Substitution | Iterable[str | Path | Substitution]])[source]
Parse EqualsSubstitution substitution.
- perform(context: LaunchContext) str[source]
Perform the substitution.
- property right: List[Substitution]
Getter for right.