From 0388fec39c759d68c55737efbd8e8f087ee9cc4a Mon Sep 17 00:00:00 2001 From: Anas Khan <83116240+anxkhn@users.noreply.github.com> Date: Sun, 5 Jul 2026 23:08:18 +0530 Subject: [PATCH] docs: fix 'retreving' typo in FunctionNode.model_copy comment Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com> --- src/google/adk/workflow/_function_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/adk/workflow/_function_node.py b/src/google/adk/workflow/_function_node.py index 15670634af..61c9d9d54e 100644 --- a/src/google/adk/workflow/_function_node.py +++ b/src/google/adk/workflow/_function_node.py @@ -476,7 +476,7 @@ def model_copy( # If the wrapped function is a bound method of a Node, we need to clone # the Node and re-bind the function to the new instance. # This is needed if the function is referring to params like 'name' from the "self" reference. - # Like Workflow or LLM use that name for event node_paths or retreving session events. + # Like Workflow or LLM use that name for event node_paths or retrieving session events. func = self._func if inspect.ismethod(func) and isinstance( getattr(func, '__self__', None), BaseNode