Skip to content

Commit e6b800f

Browse files
committed
merge with main
1 parent bb8f07f commit e6b800f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

langgraph/checkpoint/redis/jsonplus_redis.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,6 @@ class JsonPlusRedisSerializer(JsonPlusSerializer):
4040

4141
def dumps(self, obj: Any) -> bytes:
4242
"""Use orjson for simple objects, fallback to parent for complex objects."""
43-
try:
44-
# Check if this is an Interrupt object that needs special handling
45-
from langgraph.types import Interrupt
46-
47-
if isinstance(obj, Interrupt):
48-
# Serialize Interrupt as a constructor format for proper deserialization
49-
return super().dumps(obj)
50-
except ImportError:
51-
pass
52-
5343
# Use orjson with default handler for LangChain objects
5444
# The _default method from parent class handles LangChain serialization
5545
return orjson.dumps(obj, default=self._default)

0 commit comments

Comments
 (0)