concepts.dm.crow.planners.regression_utils.replace_variable_with_value#
- replace_variable_with_value(expr, scope)[source]#
Replace the variables in the expression with the values in the scope.
- Parameters:
expr (ObjectOrValueOutputExpression) – the expression to edit.
scope – the scope containing the variable-value pairs.
- Returns:
the expression with all variables replaced.
- Return type: