Skip to content

Commit

Permalink
amend pipe_input example in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
sT0v authored and elijahbenizzy committed Nov 22, 2024
1 parent f818bb9 commit 0db9a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hamilton/function_modifiers/macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0db9a70

Please sign in to comment.