From 232014e8ef87bb9c2134ad35de2558400406b809 Mon Sep 17 00:00:00 2001 From: le-codeur-rapide <166131032+le-codeur-rapide@users.noreply.github.com> Date: Fri, 7 Nov 2025 13:38:16 +0100 Subject: [PATCH] docs(langgraph): Fix typo in docstring of PregelLoop.tick (#6407) This is a very small PR to correct a typo in the docstring of the `PregelLoop.tick()` method. ```python def tick(self) -> bool: """Execute a single iteration of the Pregel loop. Args: input_keys: The key(s) to read input from. Returns: True if more iterations are needed. """ ``` Corrected to : ```python def tick(self) -> bool: """Execute a single iteration of the Pregel loop. Returns: True if more iterations are needed. """ ``` The docstring was written in #2946 when the signature of tick was ```python def tick( self, *, input_keys: Union[str, Sequence[str]], ) -> bool: ``` but it was simplified to ```python def tick(self) -> bool: ``` in #5080 --- libs/langgraph/langgraph/pregel/_loop.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/langgraph/langgraph/pregel/_loop.py b/libs/langgraph/langgraph/pregel/_loop.py index 4ff5d2ad9..6876b6c7f 100644 --- a/libs/langgraph/langgraph/pregel/_loop.py +++ b/libs/langgraph/langgraph/pregel/_loop.py @@ -459,9 +459,6 @@ class PregelLoop: def tick(self) -> bool: """Execute a single iteration of the Pregel loop. - Args: - input_keys: The key(s) to read input from. - Returns: True if more iterations are needed. """