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

Method add_updates

raphtory-graphql/src/python/client/remote_edge.rs:41–54  ·  view source on GitHub ↗
(
        &self,
        t: EventTime,
        properties: Option<HashMap<String, Prop>>,
        layer: Option<&str>,
    )

Source from the content-addressed store, hash-verified

39 /// None:
40 #[pyo3(signature = (t, properties=None, layer=None))]
41 fn add_updates(
42 &self,
43 t: EventTime,
44 properties: Option<HashMap<String, Prop>>,
45 layer: Option<&str>,
46 ) -> Result<(), ClientError> {
47 let edge = Arc::clone(&self.edge);
48 let layer_str = layer.map(|s| s.to_string());
49
50 let task = move || async move { edge.add_updates(t, properties, layer_str).await };
51 execute_async_task(task)?;
52
53 Ok(())
54 }
55
56 /// Mark the edge as deleted at the specified time.
57 ///

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