(
&self,
timestamp: EventTimeComponent,
properties: HashMap<String, Prop>,
event_id: Option<usize>,
)
| 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 | /// |
no outgoing calls