From 0db9a703be602a0007b7409eb2fc59a5d5e55495 Mon Sep 17 00:00:00 2001 From: sT0v <71731799+sT0v@users.noreply.github.com> Date: Fri, 22 Nov 2024 13:47:58 -0600 Subject: [PATCH] amend `pipe_input` example in docstring --- hamilton/function_modifiers/macros.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hamilton/function_modifiers/macros.py b/hamilton/function_modifiers/macros.py index dfdb28b53..ae877db25 100644 --- a/hamilton/function_modifiers/macros.py +++ b/hamilton/function_modifiers/macros.py @@ -845,7 +845,7 @@ def final_result(p1: int, p2: int, p3: int) -> int: step(_add_two, y=source("upstream_node")).on_input("p2") ) def final_result(p1: int, p2: int, p3: int) -> int: - return upstream_int + return p1 + p2 + p3 We can also do this on the global level to set for all transforms a target parameter.