mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-24 16:42:24 +02:00
fix(checkpoint-postgres): type blob_values as Sequence[tuple[bytes, bytes, bytes]]
Replace Any with the concrete element type — each row is (key, type_tag, blob) all as bytes — matching how _load_blobs unpacks and decodes them. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
08304d5c24
commit
a98ffc95fd
@@ -248,7 +248,7 @@ class BasePostgresSaver(BaseCheckpointSaver[str]):
|
||||
|
||||
def _load_blobs(
|
||||
self,
|
||||
blob_values: Any,
|
||||
blob_values: Sequence[tuple[bytes, bytes, bytes]],
|
||||
) -> dict[str, Any]:
|
||||
if not blob_values:
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user