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 b3ce895 commit 9625820Copy full SHA for 9625820
nebula3/data/DataObject.py
@@ -711,7 +711,8 @@ def _cast_node(node: Vertex):
711
"vid": node.get_id().cast(),
712
"tags": {
713
tag_name: {
714
- k: v.cast() for k, v in node.properties(tag_name).items()
+ k: v.cast_primitive()
715
+ for k, v in node.properties(tag_name).items()
716
}
717
for tag_name in node.tags()
718
},
@@ -723,7 +724,7 @@ def _cast_relationship(edge: Edge):
723
724
"dst": edge.end_vertex_id().cast(),
725
"type": edge.edge_name(),
726
"rank": edge.ranking(),
- "props": {k: v.cast() for k, v in edge.properties().items()},
727
+ "props": {k: v.cast_primitive() for k, v in edge.properties().items()},
728
729
730
def _cast_primitive(raw_value):
0 commit comments