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

Method delete

raphtory-graphql/src/python/client/remote_edge.rs:68–76  ·  view source on GitHub ↗
(&self, t: EventTime, layer: Option<&str>)

Source from the content-addressed store, hash-verified

66 /// GraphError: If the operation fails.
67 #[pyo3(signature = (t, layer=None))]
68 fn delete(&self, t: EventTime, layer: Option<&str>) -> Result<(), ClientError> {
69 let edge = Arc::clone(&self.edge);
70 let layer_str = layer.map(|s| s.to_string());
71
72 let task = move || async move { edge.delete(t, layer_str).await };
73 execute_async_task(task)?;
74
75 Ok(())
76 }
77
78 /// Add metadata to the edge within the remote graph.
79 /// This function is used to add metadata to an edge that does not

Callers

nothing calls this directly

Calls 3

execute_async_taskFunction · 0.85
to_stringMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected