mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-26 09:32:25 +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
@@ -469,7 +469,9 @@ class PostgresSaver(BasePostgresSaver):
|
||||
break
|
||||
|
||||
payloads.reverse()
|
||||
result[channel] = DiffChainValue(base=base, deltas=[p["d"] for p in payloads])
|
||||
result[channel] = DiffChainValue(
|
||||
base=base, deltas=[p["d"] for p in payloads]
|
||||
)
|
||||
return result
|
||||
|
||||
def _load_checkpoint_tuple(self, value: DictRow) -> CheckpointTuple:
|
||||
|
||||
@@ -430,7 +430,9 @@ class AsyncPostgresSaver(BasePostgresSaver):
|
||||
break
|
||||
|
||||
payloads.reverse()
|
||||
result[channel] = DiffChainValue(base=base, deltas=[p["d"] for p in payloads])
|
||||
result[channel] = DiffChainValue(
|
||||
base=base, deltas=[p["d"] for p in payloads]
|
||||
)
|
||||
return result
|
||||
|
||||
async def _load_checkpoint_tuple(self, value: DictRow) -> CheckpointTuple:
|
||||
|
||||
@@ -208,7 +208,9 @@ class BasePostgresSaver(BaseCheckpointSaver[str]):
|
||||
|
||||
if diff_channel_payloads:
|
||||
result.update(
|
||||
self._load_diff_chains(thread_id, checkpoint_ns, diff_channel_payloads, cur=cur)
|
||||
self._load_diff_chains(
|
||||
thread_id, checkpoint_ns, diff_channel_payloads, cur=cur
|
||||
)
|
||||
)
|
||||
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user