[PR #6407] docs(langgraph): Fix typo in docstring of PregelLoop.tick #5018

Closed
opened 2026-02-20 17:51:06 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/6407

State: closed
Merged: Yes


This is a very small PR to correct a typo in the docstring of the PregelLoop.tick() method.

  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 :

  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

    def tick(
        self,
        *,
        input_keys: Union[str, Sequence[str]],
    ) -> bool:

but it was simplified to

def tick(self) -> bool:

in #5080

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/6407 **State:** closed **Merged:** Yes --- 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
yindo added the pull-request label 2026-02-20 17:51:06 -05:00
yindo closed this issue 2026-02-20 17:51:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#5018