mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-06 09:47:51 +02:00
claude can't lint
This commit is contained in:
@@ -3105,7 +3105,10 @@ class Pregel(
|
||||
):
|
||||
if stream_mode == "values":
|
||||
latest = chunk
|
||||
if isinstance(chunk, dict) and (ints := chunk.get(INTERRUPT)) is not None:
|
||||
if (
|
||||
isinstance(chunk, dict)
|
||||
and (ints := chunk.get(INTERRUPT)) is not None
|
||||
):
|
||||
interrupts.extend(ints)
|
||||
else:
|
||||
chunks.append(chunk)
|
||||
@@ -3182,7 +3185,10 @@ class Pregel(
|
||||
):
|
||||
if stream_mode == "values":
|
||||
latest = chunk
|
||||
if isinstance(chunk, dict) and (ints := chunk.get(INTERRUPT)) is not None:
|
||||
if (
|
||||
isinstance(chunk, dict)
|
||||
and (ints := chunk.get(INTERRUPT)) is not None
|
||||
):
|
||||
interrupts.extend(ints)
|
||||
else:
|
||||
chunks.append(chunk)
|
||||
|
||||
Reference in New Issue
Block a user