langgraph-checkpoint-postgres 1.0.8__tar.gz → 1.0.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {langgraph_checkpoint_postgres-1.0.8 → langgraph_checkpoint_postgres-1.0.9}/PKG-INFO +1 -1
- {langgraph_checkpoint_postgres-1.0.8 → langgraph_checkpoint_postgres-1.0.9}/langgraph/checkpoint/postgres/base.py +2 -1
- {langgraph_checkpoint_postgres-1.0.8 → langgraph_checkpoint_postgres-1.0.9}/pyproject.toml +1 -1
- {langgraph_checkpoint_postgres-1.0.8 → langgraph_checkpoint_postgres-1.0.9}/README.md +0 -0
- {langgraph_checkpoint_postgres-1.0.8 → langgraph_checkpoint_postgres-1.0.9}/langgraph/checkpoint/postgres/__init__.py +0 -0
- {langgraph_checkpoint_postgres-1.0.8 → langgraph_checkpoint_postgres-1.0.9}/langgraph/checkpoint/postgres/aio.py +0 -0
- {langgraph_checkpoint_postgres-1.0.8 → langgraph_checkpoint_postgres-1.0.9}/langgraph/checkpoint/py.typed +0 -0
|
@@ -229,7 +229,8 @@ class BasePostgresSaver(BaseCheckpointSaver[str]):
|
|
|
229
229
|
|
|
230
230
|
def _dump_metadata(self, metadata: CheckpointMetadata) -> str:
|
|
231
231
|
serialized_metadata = self.jsonplus_serde.dumps(metadata)
|
|
232
|
-
|
|
232
|
+
# NOTE: we're using JSON serializer (not msgpack), so we need to remove null characters before writing
|
|
233
|
+
return serialized_metadata.decode().replace("\\u0000", "")
|
|
233
234
|
|
|
234
235
|
def get_next_version(self, current: Optional[str], channel: ChannelProtocol) -> str:
|
|
235
236
|
if current is None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|