This is an automated email from the ASF dual-hosted git repository.

skrawcz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hamilton.git

commit 5befa029123f9e0ed5844d0723446ac348a094eb
Author: Charles Swartz <[email protected]>
AuthorDate: Sun Apr 6 09:48:29 2025 -0400

    Fix docstring of `_process_unpack_fields`
---
 hamilton/function_modifiers/expanders.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hamilton/function_modifiers/expanders.py 
b/hamilton/function_modifiers/expanders.py
index 864639df..3021ee40 100644
--- a/hamilton/function_modifiers/expanders.py
+++ b/hamilton/function_modifiers/expanders.py
@@ -875,11 +875,11 @@ class extract_fields(base.SingleNodeNodeTransformer):
 
 
 def _process_unpack_fields(fields: List[str], output_type: Any) -> 
Optional[List[Type]]:
-    """Processes the fields and base output type args to extract a tuple of 
field types.
+    """Processes the fields and base output type to extract a tuple of field 
types.
 
-    :param fields: Tuple of fields to extract from the tuple.
-    :param args: Tuple of types to extract from the tuple.
-    :return: List of types.
+    :param fields: List of fields to extract from the tuple.
+    :param output_type: The output type of the node function.
+    :return: List of field types.
     """
 
     base_type = typing_inspect.get_origin(output_type)

Reply via email to