MCPcopy Create free account
hub / github.com/LangGraph-GUI/LangGraph-GUI-backend / Serializable

Class Serializable

src/NodeData.py:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6@dataclass
7class Serializable:
8 def to_dict(self):
9 return asdict(self)
10
11 @classmethod
12 def from_dict(cls, data):
13 return cls(**data)
14
15@dataclass
16class NodeData(Serializable):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected