diff --git a/libs/langgraph/langgraph/func/__init__.py b/libs/langgraph/langgraph/func/__init__.py index 4dd923c71..8bbd6e039 100644 --- a/libs/langgraph/langgraph/func/__init__.py +++ b/libs/langgraph/langgraph/func/__init__.py @@ -100,8 +100,7 @@ def task( - Calling the function produces a future. This makes it easy to parallelize tasks. Args: - retry: The [retry policy](langgraph.types.RetryPolicy) - to use for the task in case of a failure. + retry: An optional retry policy to use for the task in case of a failure. Returns: A callable function when used as a decorator.