MCPcopy Create free account
hub / github.com/Pometry/Raphtory / import_nodes

Method import_nodes

raphtory/src/python/graph/graph.rs:541–544  ·  view source on GitHub ↗
(&self, nodes: FromIterable<PyNode>, merge: bool)

Source from the content-addressed store, hash-verified

539 /// GraphError: If the operation fails.
540 #[pyo3(signature = (nodes, merge = false))]
541 pub fn import_nodes(&self, nodes: FromIterable<PyNode>, merge: bool) -> Result<(), GraphError> {
542 let node_views = nodes.iter().map(|node| &node.node);
543 self.graph.import_nodes(node_views, merge)
544 }
545
546 /// Import multiple nodes into the graph with new ids.
547 ///

Callers 4

test_import_into_graphFunction · 0.45
test_import_with_intFunction · 0.45
export_toMethod · 0.45

Calls 2

mapMethod · 0.45
iterMethod · 0.45

Tested by 3

test_import_into_graphFunction · 0.36
test_import_with_intFunction · 0.36