mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-13 05:07:51 +02:00
Fix type hints for entrypoint decorator
This commit is contained in:
@@ -309,7 +309,7 @@ class entrypoint:
|
||||
A value will always be saved even if it is None.
|
||||
"""
|
||||
|
||||
def __call__(self, func: types.FunctionType) -> Pregel:
|
||||
def __call__(self, func: Callable[..., Any]) -> Pregel:
|
||||
"""Convert a function into a Pregel graph.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user