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

Method __getitem__

raphtory/src/python/graph/node.rs:267–272  ·  view source on GitHub ↗

Python ******//

(&self, name: &str)

Source from the content-addressed store, hash-verified

265
266 //****** Python ******//
267 pub fn __getitem__(&self, name: &str) -> PyResult<Prop> {
268 self.node
269 .properties()
270 .get(name)
271 .ok_or(PyKeyError::new_err(format!("Unknown property {}", name)))
272 }
273}
274
275impl Repr for PyNode {

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
propertiesMethod · 0.45
selectMethod · 0.45

Tested by

no test coverage detected