We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb8f07f commit e6b800fCopy full SHA for e6b800f
langgraph/checkpoint/redis/jsonplus_redis.py
@@ -40,16 +40,6 @@ class JsonPlusRedisSerializer(JsonPlusSerializer):
40
41
def dumps(self, obj: Any) -> bytes:
42
"""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
53
# Use orjson with default handler for LangChain objects
54
# The _default method from parent class handles LangChain serialization
55
return orjson.dumps(obj, default=self._default)
0 commit comments