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

Method get

raphtory/src/python/graph/properties/metadata.rs:92–95  ·  view source on GitHub ↗

get property value by key Arguments: key (str): the name of the property Returns: PropValue: the property value or `None` if value for `key` does not exist

(&self, key: &str)

Source from the content-addressed store, hash-verified

90 /// Returns:
91 /// PropValue: the property value or `None` if value for `key` does not exist
92 pub fn get(&self, key: &str) -> Option<Prop> {
93 // Fixme: Add option to specify default?
94 self.props.get(key)
95 }
96
97 /// as_dict() -> dict[str, Any]
98 ///

Callers 3

__getitem__Method · 0.45
__contains__Method · 0.45
valuesMethod · 0.45

Calls 4

__contains__Method · 0.45
cloneMethod · 0.45
intoMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected