We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd375c3 commit 3fc2786Copy full SHA for 3fc2786
1 file changed
src/xyflow/data_types.py
@@ -125,7 +125,7 @@ def to_dict(self) -> dict[str, Any]:
125
126
# Convert XYHandle list to list of dicts if present
127
if self.handles is not None:
128
- node_dict["handles"] = [asdict(h) for h in self.handles]
+ node_dict["handles"] = [_dataclass_to_dict(h) for h in self.handles]
129
130
if self.extra:
131
node_dict.update(self.extra)
0 commit comments