From b218cc76a7366e13e0020f7aa20ddb30c6b52689 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Thu, 16 Jan 2025 14:50:40 -0500 Subject: [PATCH] type ignore for now --- libs/langgraph/langgraph/func/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/langgraph/langgraph/func/__init__.py b/libs/langgraph/langgraph/func/__init__.py index 65b4eb76e..a051e465e 100644 --- a/libs/langgraph/langgraph/func/__init__.py +++ b/libs/langgraph/langgraph/func/__init__.py @@ -160,7 +160,7 @@ def entrypoint( new_params = list(original_sig.parameters.values()) + [extra_param] new_sig = original_sig.replace(parameters=new_params) # Update the signature of the wrapper function - gen_wrapper.__signature__ = new_sig + gen_wrapper.__signature__ = new_sig # type: ignore bound = get_runnable_for_func(gen_wrapper) stream_mode: StreamMode = "custom" elif inspect.isasyncgenfunction(func): @@ -202,7 +202,7 @@ def entrypoint( new_params = list(original_sig.parameters.values()) + [extra_param] new_sig = original_sig.replace(parameters=new_params) # Update the signature of the wrapper function - agen_wrapper.__signature__ = new_sig + agen_wrapper.__signature__ = new_sig # type: ignore bound = get_runnable_for_func(agen_wrapper) stream_mode = "custom"