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

Method get

raphtory/src/python/graph/properties/temporal_props.rs:161–164  ·  view source on GitHub ↗

Get property value for `key` if it exists. Arguments: key (str): the name of the property. Returns: TemporalProperty: the property view if it exists, otherwise `None`

(&self, key: &str)

Source from the content-addressed store, hash-verified

159 /// Returns:
160 /// TemporalProperty: the property view if it exists, otherwise `None`
161 fn get(&self, key: &str) -> Option<DynTemporalProperty> {
162 // Fixme: Add option to specify default?
163 self.props.get(key)
164 }
165
166 /// Iterator over property keys
167 fn __iter__(&self) -> PyGenericIterator {

Callers 5

__getitem__Method · 0.45
__contains__Method · 0.45
valuesMethod · 0.45
latestMethod · 0.45
historiesMethod · 0.45

Calls 4

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

Tested by

no test coverage detected