From 71e6002a3c25c80fb50839542278b29f84125d68 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Fri, 17 Jan 2025 17:04:54 -0500 Subject: [PATCH] docs: update broken api reference (#3093) --- libs/langgraph/langgraph/func/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.