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

Method add_property

raphtory-graphql/src/python/client/remote_graph.rs:286–293  ·  view source on GitHub ↗

Adds properties to the remote graph. Arguments: timestamp (int | str | datetime): The timestamp of the temporal property. properties (dict): The temporal properties of the graph. Returns: None:

(
        &self,
        timestamp: EventTime,
        properties: HashMap<String, Prop>,
    )

Source from the content-addressed store, hash-verified

284 /// Returns:
285 /// None:
286 pub fn add_property(
287 &self,
288 timestamp: EventTime,
289 properties: HashMap<String, Prop>,
290 ) -> Result<(), ClientError> {
291 let graph = Arc::clone(&self.graph);
292 execute_async_task(move || async move { graph.add_property(timestamp, properties).await })
293 }
294
295 /// Adds metadata to the remote graph.
296 ///

Callers

nothing calls this directly

Calls 1

execute_async_taskFunction · 0.85

Tested by

no test coverage detected