mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-11 04:07:52 +02:00
Lint
This commit is contained in:
@@ -592,7 +592,10 @@ class PregelLoop:
|
||||
self.output = read_channels(self.channels, self.output_keys)
|
||||
if suppress:
|
||||
# suppress interrupt
|
||||
self._emit("updates", lambda: iter([{INTERRUPT: exc_value.args[0]}]))
|
||||
self._emit(
|
||||
"updates",
|
||||
lambda: iter([{INTERRUPT: cast(GraphInterrupt, exc_value).args[0]}]),
|
||||
)
|
||||
return True
|
||||
|
||||
def _emit(
|
||||
|
||||
Reference in New Issue
Block a user