mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-28 04:25:08 +02:00
chore: format and lint fixes for DiffChannel implementation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
318fee9fc6
commit
ebd98f2e27
@@ -134,7 +134,7 @@ class InMemorySaver(
|
||||
continue
|
||||
vv = self.blobs[kk]
|
||||
if vv[0] == "diff":
|
||||
diff_channels[k] = v
|
||||
diff_channels[k] = str(v)
|
||||
elif vv[0] != "empty":
|
||||
channel_values[k] = self.serde.loads_typed(vv)
|
||||
|
||||
@@ -163,7 +163,9 @@ class InMemorySaver(
|
||||
break
|
||||
vv = self.blobs[kk]
|
||||
if vv[0] == "diff":
|
||||
payload = self.serde.loads_typed(vv) # {"d": [...], "p": version|None}
|
||||
payload = self.serde.loads_typed(
|
||||
vv
|
||||
) # {"d": [...], "p": version|None}
|
||||
chain_deltas.append(payload["d"])
|
||||
version = payload["p"]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user