From 9f8d71c65bad907a9b23ad8a11c0580830305644 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Sat, 21 Sep 2024 17:23:12 -0700 Subject: [PATCH] Lint --- libs/langgraph/langgraph/errors.py | 2 +- libs/langgraph/langgraph/pregel/runner.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/langgraph/langgraph/errors.py b/libs/langgraph/langgraph/errors.py index ad3150942..08bed5927 100644 --- a/libs/langgraph/langgraph/errors.py +++ b/libs/langgraph/langgraph/errors.py @@ -32,7 +32,7 @@ class InvalidUpdateError(Exception): class GraphInterrupt(Exception): - """Raised when a subgraph is interrupted, supressed by the root graph. + """Raised when a subgraph is interrupted, suppressed by the root graph. Never raised directly, or surfaced to the user.""" def __init__(self, interrupts: Sequence[Interrupt] = ()) -> None: diff --git a/libs/langgraph/langgraph/pregel/runner.py b/libs/langgraph/langgraph/pregel/runner.py index 32bbf74bd..6ba72e6ad 100644 --- a/libs/langgraph/langgraph/pregel/runner.py +++ b/libs/langgraph/langgraph/pregel/runner.py @@ -22,7 +22,7 @@ from langgraph.pregel.types import PregelExecutableTask, RetryPolicy class PregelRunner: - """Responsible for executing a set of Pregel tasks concurrently, commiting + """Responsible for executing a set of Pregel tasks concurrently, committing their writes, yielding control to caller when there is output to emit, and interrupting other tasks if appropriate."""