Skip to content

Commit

Permalink
fixed mentions in docstring
Browse files Browse the repository at this point in the history
Signed-off-by: dafnapension <dafnashein@yahoo.com>
  • Loading branch information
dafnapension committed Feb 4, 2024
1 parent dc97ecc commit 2c121dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unitxt/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1286,11 +1286,11 @@ class ExecuteExpression(StreamInstanceOperator, ComputeExpressionMixin):
Examples:
When instance {"a": 2, "b": 3} is process-ed by operator
AssignExpression(expression="a+b", to_field = "c")
ExecuteExpression(expression="a+b", to_field = "c")
the result is {"a": 2, "b": 3, "c": 5}
When instance {"a": "hello", "b": "world"} is process-ed by operator
AssignExpression(expression = "a+' '+b", to_field = "c")
ExecuteExpression(expression = "a+' '+b", to_field = "c")
the result is {"a": "hello", "b": "world", "c": "hello world"}
"""
Expand Down

0 comments on commit 2c121dd

Please sign in to comment.