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

Method add_properties

raphtory/src/python/graph/graph.rs:372–382  ·  view source on GitHub ↗
(
        &self,
        timestamp: EventTimeComponent,
        properties: HashMap<String, Prop>,
        event_id: Option<usize>,
    )

Source from the content-addressed store, hash-verified

370 /// GraphError: If the operation fails.
371 #[pyo3(signature = (timestamp, properties, event_id = None))]
372 pub fn add_properties(
373 &self,
374 timestamp: EventTimeComponent,
375 properties: HashMap<String, Prop>,
376 event_id: Option<usize>,
377 ) -> Result<(), GraphError> {
378 match event_id {
379 None => self.graph.add_properties(timestamp, properties),
380 Some(event_id) => self.graph.add_properties((timestamp, event_id), properties),
381 }
382 }
383
384 /// Adds static properties to the graph.
385 ///

Calls

no outgoing calls